You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed, there was already an issue and some kind of a fix. So, I'm not sure if this is unrelated to the previous fixed issue #81.
In the previous issue, it is mentioned that the problem is that php do not support html5 or svg by default. Does that mean this cannot be fixed? What exactly is the issue here with php / html5?
How can I reproduce it?
I've created a testcase below which just replicates the failing lines from SimpleHtmlDom. For the sake simplicity I just copied the original normalizeStringForComparison.
What is this feature about (expected vs actual behaviour)?
We are using the package (https://github.com/CarbonPackages/Carbon.Compression) on a larger project to minify the generated HTML. There is a case, where we have an svg in the CSS which causes an exception thrown here.
I noticed, there was already an issue and some kind of a fix. So, I'm not sure if this is unrelated to the previous fixed issue #81.
In the previous issue, it is mentioned that
the problem is that php do not support html5 or svg by default
. Does that mean this cannot be fixed? What exactly is the issue here with php / html5?How can I reproduce it?
I've created a testcase below which just replicates the failing lines from
SimpleHtmlDom
. For the sake simplicity I just copied the originalnormalizeStringForComparison
.Testcase
Does it take minutes, hours or days to fix?
🤷
Any additional information?
PHP 8.1.4
The text was updated successfully, but these errors were encountered: