Should Nokogiri::XML.parse be creating separate Text nodes for linefeeds?
问题 I have an XML document created by an outside tool: <?xml version="1.0" encoding="UTF-8"?> <suite> <id>S1</id> <name>First Suite</name> <description></description> <sections> <section> <name>section 1</name> <cases> <case> <id>C1</id> <title>Test 1.1</title> <type>Other</type> <priority>4 - Must Test</priority> <estimate></estimate> <milestone></milestone> <references></references> </case> <case> <id>C2</id> <title>Test 1.2</title> <type>Other</type> <priority>4 - Must Test</priority>