/post_replacements: fix broken source links (missing href).

This commit is contained in:
evazion
2017-06-26 10:26:58 -05:00
parent 465be6bdf5
commit 4fd1c6ec21

View File

@@ -103,7 +103,7 @@ module ApplicationHelper
def external_link_to(url)
if url =~ %r!\Ahttps?://!i
link_to url, {}, {rel: :nofollow}
link_to url, url, {rel: :nofollow}
else
url
end