aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-xml.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/pg-xml.el')
-rw-r--r--generic/pg-xml.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/pg-xml.el b/generic/pg-xml.el
index 763638f0..d4f15df0 100644
--- a/generic/pg-xml.el
+++ b/generic/pg-xml.el
@@ -164,5 +164,9 @@ Output with indentation INDENT-STRING (or none if nil)."
(funcall outputfn "/>"))))
+(defun pg-xml-cdata (str)
+ (concat "<!\\[CDATA\\[" str "\\]"))
+
+
(provide 'pg-xml)
;; End of `pg-xml.el'