summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/simple-document.cpp')
-rw-r--r--src/xml/simple-document.cpp4
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);
}