diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2004-10-05 21:07:03 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2004-10-05 21:07:03 +0000 |
commit | 3abab315319c9265f3a848a5e431f1ac25987482 (patch) | |
tree | da2b642fa4088f254fa29128ecafa3a35f304dc4 | |
parent | 19ffded36eade405077c0e4c9e1eb61724447ba5 (diff) |
Add pg-xml-cdata
-rw-r--r-- | generic/pg-xml.el | 4 |
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' |