summaryrefslogtreecommitdiff
path: root/tests/test_memory.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-14 04:11:17 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-14 04:11:17 +0000
commite7d2540c1a1be4c4f69d64771cfddfaf0fc6556a (patch)
tree2290762ae3fb393c422b18963d5dbff67821884f /tests/test_memory.cpp
parentccf8adce05cc70e9ca6ad5475024d1c26eeff098 (diff)
Adjust comment output to avoid malformed documents.
Comment value can not contain the string "--" or end with "-". Since comments do not support escaping, we're handling this by adding an extra space after the first "-". A string of "-" thus turns into "- - - ...". git-svn-id: https://pugixml.googlecode.com/svn/trunk@1058 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_memory.cpp')
0 files changed, 0 insertions, 0 deletions