Closed JanTvrdik closed 4 years ago
Another DOMDocument-caused bug. DomQuery does not support SVG. Current workaround I use is Strings::replace($html, '#<svg[^>]*+>.+?</svg>#s', '');
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>
Is this getting a fix?
Another DOMDocument-caused bug. DomQuery does not support SVG. Current workaround I use is
Strings::replace($html, '#<svg[^>]*+>.+?</svg>#s', '');
Our SVG code