We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a80a97d + f875144 commit bc6ec74Copy full SHA for bc6ec74
lib/Sabberworm/CSS/Rule/Rule.php
@@ -32,7 +32,7 @@ public function __construct($sRule, $iLineNo = 0) {
32
33
public static function parse(ParserState $oParserState) {
34
$aComments = $oParserState->consumeWhiteSpace();
35
- $oRule = new Rule($oParserState->parseIdentifier(), $oParserState->currentLine());
+ $oRule = new Rule($oParserState->parseIdentifier(!$oParserState->comes("--")), $oParserState->currentLine());
36
$oRule->setComments($aComments);
37
$oRule->addComments($oParserState->consumeWhiteSpace());
38
$oParserState->consume(':');
0 commit comments