xmlfile.cpp: Put newline where it’s supposed to go after element content.

This commit is contained in:
Vas Crabb 2020-09-06 02:33:04 +10:00
parent 9c974f6b3d
commit ea75c97d6d

View File

@ -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 */