[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 f94d58008eb 1/2: Avoid inserting extra space in SVG data
From: |
Eli Zaretskii |
Subject: |
emacs-30 f94d58008eb 1/2: Avoid inserting extra space in SVG data |
Date: |
Sun, 4 Aug 2024 03:48:17 -0400 (EDT) |
branch: emacs-30
commit f94d58008eb3d6e9d3ea9e9b967be329a880057b
Author: David Ponce <da_vid@orange.fr>
Commit: Eli Zaretskii <eliz@gnu.org>
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)
---
lisp/svg.el | 1 -
1 file changed, 1 deletion(-)
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 "</%s>" (car dom)))))