diff --git a/src/TBela/CSS/Value.php b/src/TBela/CSS/Value.php index 10b23a23..8e368b3c 100755 --- a/src/TBela/CSS/Value.php +++ b/src/TBela/CSS/Value.php @@ -1196,10 +1196,10 @@ public static function getTokens(string $string, $capture_whitespace = true, $co $tokens[] = (object)['type' => $context === 'attribute' ? 'operator' : 'css-string', 'value' => '=']; } else if ($context === 'attribute') { - $tokens[] = (object)['type' => 'operator', 'value' => $string[$i++] . '=']; + $tokens[] = (object)['type' => 'operator', 'value' => $string[$i++] .$string[$i]]; } else { - $tokens[] = (object)['type' => 'css-string', 'value' => $string[$i++]]; + $tokens[] = (object)['type' => 'css-string', 'value' => $string[$i]]; } break;