I haven't had chance to investigate what caused this, but after an upgrade from 2.4.0 to 2.6.0, newlines are included in parsed fields.
In our case we are using Savon to talk to an API returning XML in XML. When parsing the embedded XML with Nokogiri, the newlines are mapped to Nokogiri::XML::Text which resulted in obscure errors and much debugging.
I haven't had chance to investigate what caused this, but after an upgrade from 2.4.0 to 2.6.0, newlines are included in parsed fields.
In our case we are using Savon to talk to an API returning XML in XML. When parsing the embedded XML with Nokogiri, the newlines are mapped to
Nokogiri::XML::Text
which resulted in obscure errors and much debugging.I think this change is correct, but please add a note about it somewhere as a breaking change :)