1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-21 19:23:00 +04:00

add pedantic whitespace mode

This commit is contained in:
Kevin Saul
2023-05-28 21:36:28 +12:00
parent e05956094c
commit 98303bbda3
3 changed files with 192 additions and 7 deletions
+3 -2
View File
@@ -1704,7 +1704,8 @@ private:
enum Whitespace {
PRESERVE_WHITESPACE,
COLLAPSE_WHITESPACE
COLLAPSE_WHITESPACE,
PEDANTIC_WHITESPACE
};
@@ -1915,7 +1916,7 @@ public:
void DeepCopy(XMLDocument* target) const;
// internal
char* Identify( char* p, XMLNode** node );
char* Identify( char* p, XMLNode** node, bool first );
// internal
void MarkInUse(const XMLNode* const);