diff options
-rw-r--r-- | lisp/svg.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/svg.el b/lisp/svg.el index 8639bf11243..241385fa91f 100644 --- a/lisp/svg.el +++ b/lisp/svg.el @@ -163,7 +163,7 @@ otherwise. IMAGE-TYPE should be a MIME image type, like ;; Apparently the SVG renderer needs to have all non-ASCII ;; characters encoded. (with-temp-buffer - (insert text) + (insert (xml-escape-string text)) (goto-char (point-min)) (while (not (eobp)) (let ((char (following-char))) |