emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 b28a9a6: Make svg images with links valid


From: Lars Ingebrigtsen
Subject: emacs-27 b28a9a6: Make svg images with links valid
Date: Fri, 20 Mar 2020 11:36:49 -0400 (EDT)

branch: emacs-27
commit b28a9a6cc3451ea865449cf010466cd3ac8bf9a0
Author: Zhu Zihao <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Make svg images with links valid
    
    * lisp/svg.el (svg-create): Specify xlink namespace for svg images
    (bug#40010).
    
    Copyright-paperwork-exempt: yes
---
 lisp/svg.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/svg.el b/lisp/svg.el
index 6a2fc4c..370c9c0 100644
--- a/lisp/svg.el
+++ b/lisp/svg.el
@@ -70,7 +70,8 @@ any further elements added."
              (height . ,height)
              (version . "1.1")
              (xmlns . "http://www.w3.org/2000/svg";)
-             ,@(svg--arguments nil args))))
+              (xmlns:xlink . "http://www.w3.org/1999/xlink";)
+              ,@(svg--arguments nil args))))
 
 (defun svg-gradient (svg id type stops)
   "Add a gradient with ID to SVG.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]