summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-15 12:10:12 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-20 13:01:45 -0400
commit9eaaa7cdef124d73b1c6b98e7af7a4fc18a76cf3 (patch)
tree8dd6f6177f64bf953bf1a5e47becbd8f2f1ffa6b /lib
parent5b6c1a2182bfd1aa7b816c6654f38268ff597c2e (diff)
downloadgitlab-ce-9eaaa7cdef124d73b1c6b98e7af7a4fc18a76cf3.tar.gz
Minor doc fix
[ci skip]
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/markdown/reference_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/markdown/reference_filter.rb b/lib/gitlab/markdown/reference_filter.rb
index 5778fd865df..f28f9a1f643 100644
--- a/lib/gitlab/markdown/reference_filter.rb
+++ b/lib/gitlab/markdown/reference_filter.rb
@@ -40,7 +40,7 @@ module Gitlab
# Yields the current node's String contents. The result of the block will
# replace the node's existing content and update the current document.
#
- # Returns the updated Nokogiri::Document object.
+ # Returns the updated Nokogiri::XML::Document object.
def replace_text_nodes_matching(pattern)
doc.search('text()').each do |node|
content = node.to_html