From b28a9a6cc3451ea865449cf010466cd3ac8bf9a0 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 20 Mar 2020 16:35:31 +0100 Subject: 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(-) (limited to 'lisp') diff --git a/lisp/svg.el b/lisp/svg.el index 6a2fc4c90fc..370c9c04e76 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. -- cgit v1.2.1