summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-08 12:14:56 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-08 13:07:20 -0500
commit064cff13fd7d02672695b4ac1722bbd6df35f1d4 (patch)
treeb36df7c0512535f61dda99eb438db0b3e0b61684 /lib
parent7be19db42fd51da23b1ef658263897213b624500 (diff)
downloadgitlab-ce-064cff13fd7d02672695b4ac1722bbd6df35f1d4.tar.gz
Remove obvious comment and extra line
Diffstat (limited to 'lib')
-rw-r--r--lib/banzai/filter/external_link_filter.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/banzai/filter/external_link_filter.rb b/lib/banzai/filter/external_link_filter.rb
index 27ca38e6d4a..f73ecfc9418 100644
--- a/lib/banzai/filter/external_link_filter.rb
+++ b/lib/banzai/filter/external_link_filter.rb
@@ -15,8 +15,6 @@ module Banzai
next if link.start_with?(internal_url)
node.set_attribute('rel', 'nofollow noreferrer')
-
- # Open external links on a new tab
node.set_attribute('target', '_blank')
end