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.
1 parent 1ce14cc commit 8d29dbaCopy full SHA for 8d29dba
src/CssLint/Tokenizer/Parser/AtRuleParser.php
@@ -106,12 +106,13 @@ private function getAtRuleName(TokenizerContext $tokenizerContext): string
106
{
107
$content = trim($tokenizerContext->getCurrentContent());
108
$parts = explode(' ', trim($content), 2);
109
- return trim(
+ $name = trim(
110
$this->removeStartingString(
111
$parts[0],
112
self::$AT_RULE_START
113
)
114
);
115
+ return $this->removeEndingString($name, BlockParser::$BLOCK_START);
116
}
117
118
private function getAtRuleValue(TokenizerContext $tokenizerContext): ?string
0 commit comments