maproulette3 icon indicating copy to clipboard operation
maproulette3 copied to clipboard

urlencode constructed links

Open mvexel opened this issue 3 years ago • 0 comments

Say I want to create a dynamic link using a fixed URL part and a mustache tag, like so:

 [Click here](https://www.google.com/search?q={{name}}) 

If the name contains no spaces, this works great. If it does, the link breaks:

image

(See task https://maproulette.org/challenge/28648/task/135909589)

Can we detect that the mustache tag is part of a hyperlink URL and URLEncode it?

mvexel avatar Sep 02 '22 16:09 mvexel