mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 09:10:12 +01:00
fix typo
This commit is contained in:
parent
b8ab28819c
commit
ccac45b377
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ module RenderingHelper
|
||||||
right = $'
|
right = $'
|
||||||
# detect already linked URLs and URLs in the middle of a tag
|
# detect already linked URLs and URLs in the middle of a tag
|
||||||
if left =~ /<[^>]+$/ && right =~ /^[^>]*>/
|
if left =~ /<[^>]+$/ && right =~ /^[^>]*>/
|
||||||
# do not change string; URL is alreay linked
|
# do not change string; URL is already linked
|
||||||
href
|
href
|
||||||
else
|
else
|
||||||
content_tag(:a, h(href), :href => h(href))
|
content_tag(:a, h(href), :href => h(href))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue