mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 09:34:41 +08:00
fix indent
This commit is contained in:
@ -362,7 +362,7 @@ module PrettyText
|
|||||||
site_uri ||= URI(Discourse.base_url)
|
site_uri ||= URI(Discourse.base_url)
|
||||||
unless uri.host.present? || href.start_with?('mailto')
|
unless uri.host.present? || href.start_with?('mailto')
|
||||||
link["href"] = "#{site_uri}#{link['href']}"
|
link["href"] = "#{site_uri}#{link['href']}"
|
||||||
end
|
end
|
||||||
rescue URI::InvalidURIError, URI::InvalidComponentError
|
rescue URI::InvalidURIError, URI::InvalidComponentError
|
||||||
# leave it
|
# leave it
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user