Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: specify spaces only
  • Loading branch information
cyanxiao committed Dec 11, 2021
commit edd5a9edb511f07d9625a5bf46afcb554c2c6991
2 changes: 1 addition & 1 deletion src/Tokenizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export class Tokenizer {

l = item.rows.length;
for (i = 0; i < l; i++) {
if (/^\s{1,4}$/.test(item.rows[i])) {
if (/^ {1,4}]$/.test(item.rows[i])) {
item.rows.pop();
continue;
}
Expand Down