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.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp
index 2807133af..bae28e4b4 100644
--- a/src/xml/simple-document.cpp
+++ b/src/xml/simple-document.cpp
@@ -1,5 +1,6 @@
-/** @file
- * @brief Garbage collected XML document implementation
+/**
+ * @file
+ * Garbage collected XML document implementation.
*/
/* Copyright 2004-2005 MenTaLguY <mental@rydia.net>
*
@@ -58,6 +59,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);
}