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
We've been using your package for quite a while and we really enjoy it. Today we tried to handle an excessive piece of HTML code and the import of the document just stops. This means documents are partially rendered without any warning.
Why is this and could this behavior be changed? I'm not even sure why libxml_use_internal_errors is called for a second time with the error output as it requests a boolean or null value.
The text was updated successfully, but these errors were encountered:
Ahh okay, I've missed that! I created a PR with a possible solution to read the errors as the libxml_use_internal_errors() clears the libxml_get_errors() when it is set.
Hi!
We've been using your package for quite a while and we really enjoy it. Today we tried to handle an excessive piece of HTML code and the import of the document just stops. This means documents are partially rendered without any warning.
There is a possibility for us to handle this manually by calling the libxml_get_errors(), but the errors are cleared on the following line: https://github.com/tijsverkoyen/CssToInlineStyles/blob/master/src/CssToInlineStyles.php#L117
Why is this and could this behavior be changed? I'm not even sure why libxml_use_internal_errors is called for a second time with the error output as it requests a boolean or null value.
The text was updated successfully, but these errors were encountered: