mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
PCDATA is now output with trailing newline if format_raw is not set and PCDATA is not the only child
git-svn-id: http://pugixml.googlecode.com/svn/trunk@153 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
80d778d053
commit
e1013bfcd8
@ -1583,6 +1583,7 @@ namespace
|
||||
|
||||
case node_pcdata:
|
||||
text_output_escaped(writer, node.value(), opt1_to_type<0>());
|
||||
if ((flags & format_raw) == 0) writer.write('\n');
|
||||
break;
|
||||
|
||||
case node_cdata:
|
||||
|
Loading…
x
Reference in New Issue
Block a user