Uncaught exception 'Sabberworm\CSS\Parsing\SourceException'
ossinkine opened this issue · comments
Gocha Ossinkine commented
This code throws SourceException
with message Unopened { [line no: 5]
$css = <<<CSS
@media(min-width:480px){
body{
background-color:lightgreen;
}
}
CSS;
$parser = new Sabberworm\CSS\Parser($css);
$css = $parser->parse();
It seems the parser expects a space after @media
.
Raphael Schweikert commented
Closing as duplicate of #75.