Commit 82f8bee7 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Don't add repeated xlmns:xlink declarations in svg-create

* lisp/svg.el (svg-create): Fix previous unconditional addition of
the xmlns:xlink declaration -- callers may already add one, and
having it twice is something most svg libraries doesn't like.
parent 78f76fe1
Pipeline #5077 failed with stage
in 59 minutes and 27 seconds
......@@ -70,7 +70,8 @@ any further elements added."
(height . ,height)
(version . "1.1")
(xmlns . "")
(xmlns:xlink . "")
,@(unless (plist-get args :xmlns:xlink)
'((xmlns:xlink . "")))
,@(svg--arguments nil args))))
(defun svg-gradient (svg id type stops)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment