mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 20:36:39 +08:00
fix indent
This commit is contained in:
parent
b8cf0788c6
commit
4b2e42757d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user