diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2011-09-08 14:27:40 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2011-09-08 14:27:40 +0000 |
| commit | 8a73582fd88bffa4e219dfce758a930b43c06a98 (patch) | |
| tree | 625d3418f77eb5db1aa913f522773ed0f4bd4f55 /src/xml/simple-document.h | |
| parent | Obey to dont-scale-strokewidth preference, even when scaling one dimension to... (diff) | |
| download | inkscape-8a73582fd88bffa4e219dfce758a930b43c06a98.tar.gz inkscape-8a73582fd88bffa4e219dfce758a930b43c06a98.zip | |
Preserve CDATA sections on output.
(bzr r10625)
Diffstat (limited to 'src/xml/simple-document.h')
| -rw-r--r-- | src/xml/simple-document.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xml/simple-document.h b/src/xml/simple-document.h index 8a37c577c..ff1d94b0c 100644 --- a/src/xml/simple-document.h +++ b/src/xml/simple-document.h @@ -31,7 +31,7 @@ class SimpleDocument : public SimpleNode, public: explicit SimpleDocument() : SimpleNode(g_quark_from_static_string("xml"), this), - _in_transaction(false) {} + _in_transaction(false), _is_CData(false) {} NodeType type() const { return Inkscape::XML::DOCUMENT_NODE; } @@ -44,6 +44,7 @@ public: Node *createElement(char const *name); Node *createTextNode(char const *content); + Node *createTextNode(char const *content, bool const is_CData); Node *createComment(char const *content); Node *createPI(char const *target, char const *content); @@ -76,6 +77,7 @@ protected: private: bool _in_transaction; LogBuilder _log_builder; + bool _is_CData; }; } |
