Skip to content

Commit cb6dbdd

Browse files
raxbgJakeQZ
authored andcommitted
Use CSSFunction::parseArgs when parsing expression arguments
1 parent 0304df7 commit cb6dbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Value/Expression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Expression extends CSSFunction
2424
public static function parse(ParserState $oParserState, $bIgnoreCase = false)
2525
{
2626
$oParserState->consume('(');
27-
$aArguments = Value::parseValue($oParserState, ['=', ' ', ',']);
27+
$aArguments = self::parseArgs($oParserState);
2828
$mResult = new Expression("", $aArguments, ',', $oParserState->currentLine());
2929
$oParserState->consume(')');
3030
return $mResult;

0 commit comments

Comments
 (0)