Minor doc fix
[ci skip]
This commit is contained in:
parent
5b6c1a2182
commit
9eaaa7cdef
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module Gitlab
|
||||||
# Yields the current node's String contents. The result of the block will
|
# Yields the current node's String contents. The result of the block will
|
||||||
# replace the node's existing content and update the current document.
|
# 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)
|
def replace_text_nodes_matching(pattern)
|
||||||
doc.search('text()').each do |node|
|
doc.search('text()').each do |node|
|
||||||
content = node.to_html
|
content = node.to_html
|
||||||
|
|
Loading…
Reference in a new issue