diff options
author | 2020-09-06 02:33:04 +1000 | |
---|---|---|
committer | 2020-09-06 02:33:04 +1000 | |
commit | ea75c97d6d91f19f10292a79ffc2cb358555434e (patch) | |
tree | 053699f61826112ac2f1c767cbc6c35c0dab6b52 | |
parent | 9c974f6b3dbc72b7810bc640d99ff8b5f99c172b (diff) |
xmlfile.cpp: Put newline where it’s supposed to go after element content.
-rw-r--r-- | src/lib/util/xmlfile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.cpp b/src/lib/util/xmlfile.cpp index af5f36fae0d..a61c20d2e3c 100644 --- a/src/lib/util/xmlfile.cpp +++ b/src/lib/util/xmlfile.cpp @@ -1002,8 +1002,9 @@ void data_node::write_recursive(int indent, util::core_file &file) const /* if there is a value, output that here */ if (!m_value.empty()) { - file.printf("%*s\n", indent + 4, ""); + file.printf("%*s", indent + 4, ""); write_escaped(file, m_value); + file.puts("\n"); } /* loop over children and output them as well */ |