Base64-encode the SVG markers, seems to make Firefox happier.
This commit is contained in:
parent
381ce5f280
commit
2bbc117528
|
@ -113,5 +113,5 @@ function svgPathToSvg(path, size, stroke, width, fill) {
|
|||
|
||||
|
||||
function svgPathToURI(path, size, stroke, width, fill) {
|
||||
return "data:image/svg+xml," + svgPathToSvg(path, size, stroke, width, fill)
|
||||
return "data:image/svg+xml;base64," + btoa(svgPathToSvg(path, size, stroke, width, fill));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue