1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

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)
This commit is contained in:
David Ponce 2024-07-19 16:10:00 +02:00 committed by Eli Zaretskii
parent 292fcd2009
commit f94d58008e

View File

@ -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 "</%s>" (car dom)))))