From 4b2e42757d00556468ec82047a8fcc723b087e1a Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 8 Jun 2018 13:56:20 -0400 Subject: [PATCH] fix indent --- lib/pretty_text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb index 23bd9fb7b78..9e3b5fc94c2 100644 --- a/lib/pretty_text.rb +++ b/lib/pretty_text.rb @@ -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