summaryrefslogtreecommitdiff
path: root/lib/gitlab/reference_extractor.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-06-02 13:17:21 +0200
committerDouwe Maan <douwe@gitlab.com>2015-06-02 13:17:21 +0200
commit94919c7ef6cf5786d380ae65623de0697eff9188 (patch)
treec413c8ead0bbc668330d21072d155e0860ce457c /lib/gitlab/reference_extractor.rb
parentfe78984f2045a79554ae52478d01d9102c6b6a77 (diff)
downloadgitlab-ce-94919c7ef6cf5786d380ae65623de0697eff9188.tar.gz
Ignore references in blockquotes.
Diffstat (limited to 'lib/gitlab/reference_extractor.rb')
-rw-r--r--lib/gitlab/reference_extractor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/reference_extractor.rb b/lib/gitlab/reference_extractor.rb
index 80b8ab8cbcc..e836b05ff25 100644
--- a/lib/gitlab/reference_extractor.rb
+++ b/lib/gitlab/reference_extractor.rb
@@ -48,7 +48,8 @@ module Gitlab
project: project,
current_user: current_user,
# We don't actually care about the links generated
- only_path: true
+ only_path: true,
+ ignore_blockquotes: true
}
pipeline = HTML::Pipeline.new([filter], context)