Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-21 21:03:37 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-21 22:38:44 +0300
commit72debd840cb76a5fc0929c0caeca179c39378680 (patch)
treeba0c646f27408f667c181176cfb04a1026df82b4 /lib
parentdbe06ac790befe2d49dbb6edecb79d82abfe46e7 (diff)
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|