Skip to content

Commit 8b62f7f

Browse files
committed
Trim the Import's media query
1 parent aad8e56 commit 8b62f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/CSSList/CSSList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private static function parseAtRule(ParserState $oParserState) {
112112
$oParserState->consumeWhiteSpace();
113113
$sMediaQuery = null;
114114
if (!$oParserState->comes(';')) {
115-
$sMediaQuery = $oParserState->consumeUntil(array(';', ParserState::EOF));
115+
$sMediaQuery = trim($oParserState->consumeUntil(array(';', ParserState::EOF)));
116116
}
117117
if (!$oParserState->isEnd()) {
118118
$oParserState->consume(';');

0 commit comments

Comments
 (0)