I have a text node like so:
<string>Lorem Ipsum - All the "facts".</string>
When I try to open and edit the document with this:
doc = Nokogiri::XML(File.open(doc_name))
doc.search("//string[text() = '...']").remove
I get this in the actual document:
<string>Lorem Ipsum - All the "facts".</string>
Is there a way to save "
??
Expected result:
<string>Lorem Ipsum - All the "facts".</string>