Within Views I'm trying to rewrite a token into a link "Make the output of this field a link"
Link: google.com/maps/dir//[field_dr_address]
The token is for the entire address field.
It works except this is the generated URL:
http://google.com/maps/dir//%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%204713%20croftshire%20dr%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20kettering,%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20oh%20%20%20%20%20%20%20%20%20%20%20%20%20%2045440
Besides looking crazy fouled up it works. My users may copy the link location so I can't keep it like this.
Stripping white spaces before and after doesn't work. I think because these white spaces aren't before and after. Also, stripping html doesn't work because its white spaces first before %20 is used...I think.
Anyone have any idea what may be causing this?
Comments
Comment #1
System Lord CreditAttribution: System Lord commentedComment #2
System Lord CreditAttribution: System Lord commentedI just realized I need to explain this better.
My view is of content. I'm using EVA to grab the node author's Location from their profile. So, when I say "token" I'm referring to this field.