indent output of ledger xml
This commit is contained in:
parent
a875940a93
commit
44823d241f
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ void format_ptree::flush()
|
|||
|
||||
switch (format) {
|
||||
case FORMAT_XML:
|
||||
property_tree::write_xml(out, pt);
|
||||
property_tree::xml_writer_settings<char> indented(' ', 2);
|
||||
property_tree::write_xml(out, pt, indented);
|
||||
out << std::endl;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue