summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-21 13:03:37 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-21 14:38:44 -0500
commit72debd840cb76a5fc0929c0caeca179c39378680 (patch)
treeba0c646f27408f667c181176cfb04a1026df82b4 /lib
parentdbe06ac790befe2d49dbb6edecb79d82abfe46e7 (diff)
downloadgitlab-ce-72debd840cb76a5fc0929c0caeca179c39378680.tar.gz
Fix failing spec
Diffstat (limited to 'lib')
-rw-r--r--lib/banzai/filter/external_link_filter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/banzai/filter/external_link_filter.rb b/lib/banzai/filter/external_link_filter.rb
index 699de56fd4c..38c4219518e 100644
--- a/lib/banzai/filter/external_link_filter.rb
+++ b/lib/banzai/filter/external_link_filter.rb
@@ -1,7 +1,6 @@
module Banzai
module Filter
- # HTML Filter to add a `rel="nofollow"` attribute to external links
- #
+ # HTML Filter to modify the attributes of external links
class ExternalLinkFilter < HTML::Pipeline::Filter
def call
doc.search('a').each do |node|