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:
|
case node_pcdata:
|
||||||
text_output_escaped(writer, node.value(), opt1_to_type<0>());
|
text_output_escaped(writer, node.value(), opt1_to_type<0>());
|
||||||
|
if ((flags & format_raw) == 0) writer.write('\n');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case node_cdata:
|
case node_cdata:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user