Commit 057e18ec authored by Derek Schaab's avatar Derek Schaab

Use fully-qualified xlink:href attribute on use tags

parent f7eacba5
......@@ -96,7 +96,7 @@ type svgWriter struct {
}
var (
tagSVG = []byte(`<svg xmlns="http://www.w3.org/2000/svg" version="1.1"`)
tagSVG = []byte(`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"`)
tagSVGClose = []byte(`</svg>`)
tagDefs = []byte(`<defs>`)
tagDefsClose = []byte(`</defs>`)
......@@ -111,7 +111,7 @@ var (
attFontFamily = []byte(` font-family="`)
attFontSize = []byte(` font-size="`)
attHeight = []byte(` height="`)
attHref = []byte(` href="`)
attHref = []byte(` xlink:href="`)
attID = []byte(` id="`)
attTransform = []byte(` transform="`)
attWidth = []byte(` width="`)
......
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