From 3ad32c953d4b96360feb4f32b8b2df01a21cc238 Mon Sep 17 00:00:00 2001 From: David Ponce Date: Fri, 19 Jul 2024 16:10:00 +0200 Subject: [PATCH] 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) --- 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 "" (car dom))))) -- 2.39.2