mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 06:13:27 +08:00
fix indent
This commit is contained in:
parent
a279e43025
commit
a8d2d24a49
@ -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…
x
Reference in New Issue
Block a user