Commit b28a9a6c authored by Zhu Zihao's avatar Zhu Zihao Committed by Lars Ingebrigtsen

Make svg images with links valid

* lisp/svg.el (svg-create): Specify xlink namespace for svg images

Copyright-paperwork-exempt: yes
parent 7515252c
Pipeline #5055 passed with stage
in 55 minutes and 42 seconds
......@@ -70,7 +70,8 @@ any further elements added."
(height . ,height)
(version . "1.1")
(xmlns . "")
,@(svg--arguments nil args))))
(xmlns:xlink . "")
,@(svg--arguments nil args))))
(defun svg-gradient (svg id type stops)
"Add a gradient with ID to SVG.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment