@wdprlib/parser 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -10446,8 +10446,9 @@ function isRestOfLineBlank(source, pos) {
10446
10446
  if (ch === `
10447
10447
  `)
10448
10448
  return true;
10449
- if (ch !== " " && ch !== "\t" && ch !== "\r")
10450
- return false;
10449
+ if (ch === " " || ch === "\t" || ch === "\r" || ch === "]")
10450
+ continue;
10451
+ return false;
10451
10452
  }
10452
10453
  return true;
10453
10454
  }
package/dist/index.js CHANGED
@@ -10389,8 +10389,9 @@ function isRestOfLineBlank(source, pos) {
10389
10389
  if (ch === `
10390
10390
  `)
10391
10391
  return true;
10392
- if (ch !== " " && ch !== "\t" && ch !== "\r")
10393
- return false;
10392
+ if (ch === " " || ch === "\t" || ch === "\r" || ch === "]")
10393
+ continue;
10394
+ return false;
10394
10395
  }
10395
10396
  return true;
10396
10397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdprlib/parser",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Parser for Wikidot markup",
5
5
  "keywords": [
6
6
  "ast",