diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-14 04:11:17 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-14 04:11:17 +0000 |
commit | e7d2540c1a1be4c4f69d64771cfddfaf0fc6556a (patch) | |
tree | 2290762ae3fb393c422b18963d5dbff67821884f /docs/samples/traverse_walker.cpp | |
parent | ccf8adce05cc70e9ca6ad5475024d1c26eeff098 (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 'docs/samples/traverse_walker.cpp')
0 files changed, 0 insertions, 0 deletions