Skip to content

Commit

Permalink
#48 always reset invalidity of blocks when a comma is encountered
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hitchins-ekkosense committed Jul 4, 2024
1 parent 1b7e40b commit 9a446a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ const parse = (input, options = {}) => {
const open = block.nodes.shift();
block.nodes = [open, { type: 'text', value: stringify(block) }];
}
block.invalid = false;

push({ type: 'comma', value });
block.commas++;
Expand Down

0 comments on commit 9a446a8

Please sign in to comment.