Skip to content

Commit

Permalink
fixing code I broke during my previous rdoc work. sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Apr 23, 2010
1 parent ff2d45d commit a7347ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nokogiri/xml/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def create_text_node text, &block

# Create a CDATA element containing +text+
def create_cdata text
Nokogiri::XML::CDATA.new(self, string.to_s)
Nokogiri::XML::CDATA.new(self, text.to_s)
end

# The name of this document. Always returns "document"
Expand Down

0 comments on commit a7347ee

Please sign in to comment.