Minor doc fix

[ci skip]
This commit is contained in:
Robert Speicher 2015-04-15 12:10:12 -04:00
parent 5b6c1a2182
commit 9eaaa7cdef
1 changed files with 1 additions and 1 deletions

View File

@ -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