diff options
Diffstat (limited to 'lisp/xml.el')
| -rw-r--r-- | lisp/xml.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index f5a9a3f8f0b..7a853d98cc6 100644 --- a/lisp/xml.el +++ b/lisp/xml.el | |||
| @@ -126,9 +126,9 @@ tag. For example, | |||
| 126 | 126 | ||
| 127 | would be represented by | 127 | would be represented by |
| 128 | 128 | ||
| 129 | '(\"\" . \"foo\"). | 129 | (\"\" . \"foo\"). |
| 130 | 130 | ||
| 131 | If you'd just like a plain symbol instead, use 'symbol-qnames in | 131 | If you'd just like a plain symbol instead, use `symbol-qnames' in |
| 132 | the PARSE-NS argument." | 132 | the PARSE-NS argument." |
| 133 | 133 | ||
| 134 | (car node)) | 134 | (car node)) |
| @@ -1010,12 +1010,12 @@ The first line is indented with the optional INDENT-STRING." | |||
| 1010 | 1010 | ||
| 1011 | (defun xml-escape-string (string) | 1011 | (defun xml-escape-string (string) |
| 1012 | "Convert STRING into a string containing valid XML character data. | 1012 | "Convert STRING into a string containing valid XML character data. |
| 1013 | Replace occurrences of &<>'\" in STRING with their default XML | 1013 | Replace occurrences of &<>\\='\" in STRING with their default XML |
| 1014 | entity references (e.g. replace each & with &). | 1014 | entity references (e.g., replace each & with &). |
| 1015 | 1015 | ||
| 1016 | XML character data must not contain & or < characters, nor the > | 1016 | XML character data must not contain & or < characters, nor the > |
| 1017 | character under some circumstances. The XML spec does not impose | 1017 | character under some circumstances. The XML spec does not impose |
| 1018 | restriction on \" or ', but we just substitute for these too | 1018 | restriction on \" or \\=', but we just substitute for these too |
| 1019 | \(as is permitted by the spec)." | 1019 | \(as is permitted by the spec)." |
| 1020 | (with-temp-buffer | 1020 | (with-temp-buffer |
| 1021 | (insert string) | 1021 | (insert string) |