We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ebf34 commit cc548a6Copy full SHA for cc548a6
xml-to-string.el
@@ -67,7 +67,7 @@
67
(defun xml-to-string-parse-child-node (child-node)
68
"Convert `node | string' to string representation"
69
(if (stringp child-node)
70
- child-node
+ (xml-escape-string child-node)
71
(xml-to-string-parse-node child-node)))
72
73
(defun xml-to-string-parse-qname (node)
@@ -79,7 +79,7 @@
79
string like \"qname=value qname=value\" ..."
80
(mapconcat (lambda (elem) (concat (symbol-name (car elem))
81
"="
82
- "\"" (cdr elem) "\"")) attr-list " "))
+ "\"" (xml-escape-string (cdr elem)) "\"")) attr-list " "))
83
84
85
(provide 'xml-to-string)
0 commit comments