diff options
| author | Robert Speicher <rspeicher@gmail.com> | 2015-04-15 12:10:12 -0400 |
|---|---|---|
| committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-20 13:01:45 -0400 |
| commit | 9eaaa7cdef124d73b1c6b98e7af7a4fc18a76cf3 (patch) | |
| tree | 8dd6f6177f64bf953bf1a5e47becbd8f2f1ffa6b | |
| parent | 5b6c1a2182bfd1aa7b816c6654f38268ff597c2e (diff) | |
| download | gitlab-ce-9eaaa7cdef124d73b1c6b98e7af7a4fc18a76cf3.tar.gz | |
Minor doc fix
[ci skip]
| -rw-r--r-- | lib/gitlab/markdown/reference_filter.rb | 2 |
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 |
