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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue