I have a method serializing a free text input into an XML node using Qt. This text may contain newline characters. The problem is that when I serialize this text and deserialize it again, a few extra newline characters are getting inserted in the output stream. I have a method serializing a free text input i