From: David Ponce Date: Fri, 19 Jul 2024 14:10:00 +0000 (+0200) Subject: Avoid inserting extra space in SVG data X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ad32c953d4b96360feb4f32b8b2df01a21cc238;p=emacs.git Avoid inserting extra space in SVG data * lisp/svg.el (svg-print): Remove useless extra space from the XML representation of child node. (Bug#72198) (cherry picked from commit f94d58008eb3d6e9d3ea9e9b967be329a880057b) --- diff --git a/lisp/svg.el b/lisp/svg.el index f2eb2ec66dd..f5c76145136 100644 --- a/lisp/svg.el +++ b/lisp/svg.el @@ -331,7 +331,6 @@ If the SVG is later changed, the image will also be updated." (insert (format " %s=\"%s\"" (car attr) (cdr attr))))) (insert ">") (dolist (elem (nthcdr 2 dom)) - (insert " ") (svg-print elem)) (insert (format "" (car dom)))))