We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f04eb1 commit b0109ebCopy full SHA for b0109eb
packages/css-blocks/src/BlockSyntax/BlockPath.ts
@@ -199,8 +199,7 @@ export class BlockPath {
199
break;
200
201
// If the opening quote of the value section of a state part, greedily consume everything between quotes.
202
- case char === SINGLE_QUOTE:
203
- case char === DOUBLE_QUOTE:
+ case char === SINGLE_QUOTE || char === DOUBLE_QUOTE:
204
if (!isState(token)) { return this.throw(ERRORS.illegalCharNotInState(char)); }
205
working = walker.consume(char);
206
if (walker.peek() !== char) { this.throw(ERRORS.mismatchedQuote); }
0 commit comments