fix indent

This commit is contained in:
Neil Lalonde 2018-06-08 13:56:20 -04:00
parent b8cf0788c6
commit 4b2e42757d

View File

@ -362,7 +362,7 @@ module PrettyText
site_uri ||= URI(Discourse.base_url)
unless uri.host.present? || href.start_with?('mailto')
link["href"] = "#{site_uri}#{link['href']}"
end
end
rescue URI::InvalidURIError, URI::InvalidComponentError
# leave it
end