Make svg images with links valid
* lisp/svg.el (svg-create): Specify xlink namespace for svg images (bug#40010). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
7515252cce
commit
b28a9a6cc3
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ any further elements added."
|
||||||
(height . ,height)
|
(height . ,height)
|
||||||
(version . "1.1")
|
(version . "1.1")
|
||||||
(xmlns . "http://www.w3.org/2000/svg")
|
(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)
|
(defun svg-gradient (svg id type stops)
|
||||||
"Add a gradient with ID to SVG.
|
"Add a gradient with ID to SVG.
|
||||||
|
|
Loading…
Add table
Reference in a new issue