CssToInlineStyles
CssToInlineStyles copied to clipboard
DOMXPath::query(): Unfinished literal error
Parsing the }\c{
css results in a error:
Code:
$cssToInlineStyles = new CssToInlineStyles();
echo $cssToInlineStyles->convert('<html></html>', '}\c{');
Result: DOMXPath::query(): Unfinished literal
Info:
[message] => DOMXPath::query(): Unfinished literal
[file] => CssToInlineStyles.php
[line] => 179
Found by https://github.com/SergeyBel/php-classfuzz
Well, passing invalid CSS is not guaranteed to be processed without an error. I don't see anything to fix here.