mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: typo
This commit is contained in:
parent
c68cbe700b
commit
1f6e40eebe
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class EmailCook
|
||||||
in_quote = false
|
in_quote = false
|
||||||
else
|
else
|
||||||
|
|
||||||
l.scan(regexp).each do |m|
|
l.scan(EmailCook.url_regexp).each do |m|
|
||||||
url = m[0]
|
url = m[0]
|
||||||
l.gsub!(url, "<a href='#{url}'>#{url}</a>")
|
l.gsub!(url, "<a href='#{url}'>#{url}</a>")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue