projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7515252
)
Make svg images with links valid
author
Zhu Zihao
<all_but_last@163.com>
Fri, 20 Mar 2020 15:35:31 +0000
(16:35 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 20 Mar 2020 15:36:40 +0000
(16:36 +0100)
* lisp/svg.el (svg-create): Specify xlink namespace for svg images
(bug#40010).
Copyright-paperwork-exempt: yes
lisp/svg.el
patch
|
blob
|
history
diff --git
a/lisp/svg.el
b/lisp/svg.el
index 6a2fc4c90fcbf6cc657c35018d3cdf2ea574f3d5..370c9c04e7648e5a668bae4194d683e134d52745 100644
(file)
--- 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.