Skip to content
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

DomQuery does not support SVG #354

Closed
JanTvrdik opened this issue Apr 11, 2017 · 1 comment
Closed

DomQuery does not support SVG #354

JanTvrdik opened this issue Apr 11, 2017 · 1 comment

Comments

@JanTvrdik
Copy link
Contributor

Another DOMDocument-caused bug. DomQuery does not support SVG.
Current workaround I use is Strings::replace($html, '#<svg[^>]*+>.+?</svg>#s', '');

Our SVG code

<svg role="img" aria-label="" title="" class="shape shape-share-fb view-head button-icon">
	<use xlink:href="#shape-share-fb"></use>
</svg>
@genesiscz
Copy link

Is this getting a fix?

@dg dg closed this as completed in 0b33a93 Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants