0
0
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:
arseny.kapoulkine 2009-10-12 16:27:05 +00:00
parent 80d778d053
commit e1013bfcd8

View File

@ -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: