New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser breaking xml:href on svgs that use the "use" element in 2.1.2 #96
Comments
By Changing line 352 of OutputRules.php from
to
I am able to resolve this issue. I see your note
I'm on PHP 5.4, I'm not sure if that helps. Let me know If I can give you any more information |
using $node = $node->nodeName; rather than $node = $node->name also seems to work |
What does the HTML5 spec say about supporting xlink? I think it might be a On Fri, Jan 29, 2016, 4:27 PM Matthew Bucci notifications@github.com
|
@technosophos Here's the mozilla foundation documentation on it and the w3 spec as well |
@mattbucci does the fix in the pull request #97 fix this for you? |
@mattfarina yup, it sure does |
I'm parsing my entire website, modifying assets to use a cdn
I've got svg elements like the following and when I save them the xlink:href of the use child is changed to just be href
When parsing it here's what the xlink:href attribute itself looks like
The text was updated successfully, but these errors were encountered: