Yes, and no
That was the case for a couple of releases, but is not (should not be) now.
The
::cbSaveXmlFile function in
globals.cpp was not working well under 2.5.2 as streaming to a string enables "stream mode" which removes all newlines and indentation.
::cbSaveXmlFile is now an alias for
TinyXML::Save which is a Unicode-safe wrapper around the TinyXML API to save a file (previously only used to save configuration).
Safe, formatted, with indentation, and with newlines...