mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
The actual link should be URI escaped, not HTML escaped.
This commit is contained in:
parent
e84d82e5c8
commit
1461a3a10c
2 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,7 @@ module RenderingHelper
|
|||
# do not change string; URL is already linked
|
||||
href
|
||||
else
|
||||
content_tag(:a, h(href), :href => h(href))
|
||||
content_tag(:a, h(href), :href => URI.escape(href))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue