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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/xml/simple-document.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp index 2807133af..0287c4458 100644 --- a/src/xml/simple-document.cpp +++ b/src/xml/simple-document.cpp @@ -58,6 +58,10 @@ Node *SimpleDocument::createTextNode(char const *content) { return new TextNode(Util::share_string(content), this); } +Node *SimpleDocument::createTextNode(char const *content, bool const is_CData) { + return new TextNode(Util::share_string(content), this, is_CData); +} + Node *SimpleDocument::createComment(char const *content) { return new CommentNode(Util::share_string(content), this); } |
