mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +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 = $'
|
||||
# detect already linked URLs and URLs in the middle of a tag
|
||||
if left =~ /<[^>]+$/ && right =~ /^[^>]*>/
|
||||
# do not change string; URL is alreay linked
|
||||
# do not change string; URL is already linked
|
||||
href
|
||||
else
|
||||
content_tag(:a, h(href), :href => h(href))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue