diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-21 13:03:37 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-21 14:38:44 -0500 |
commit | 72debd840cb76a5fc0929c0caeca179c39378680 (patch) | |
tree | ba0c646f27408f667c181176cfb04a1026df82b4 /lib | |
parent | dbe06ac790befe2d49dbb6edecb79d82abfe46e7 (diff) | |
download | gitlab-ce-72debd840cb76a5fc0929c0caeca179c39378680.tar.gz |
Fix failing spec
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/external_link_filter.rb | 3 |
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| |