-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
The SVG result contains 'use' elements that have duplicate xlink:href elements. That is, using two terminal windows (this is win7)
- phantomjs.exe main.js
- wget http://localhost:16000/?q=x+e -O test.svg
The resulting SVG has 'use' elements like this:
<use xlink:href="#MJMATHI-78" x="0" y="0" xlink:href="#MJMATHI-78">
What I did to fix it was to replace line 73 in engine.js, which inserts the attribute, with this conditional block:
if (uses[k]["href"] === undefined) {
uses[k].setAttribute("xlink:href", id);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels