summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index ffefdd5..c309544 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -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: