wikiparser-node 1.12.6 → 1.12.7

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.
@@ -240,7 +240,7 @@ class TranscludeToken extends index_2.Token {
240
240
  errors.push((0, lint_1.generateForChild)(childNodes[1], rect, 'invalid-invoke', 'illegal module name'));
241
241
  }
242
242
  else {
243
- const child = childNodes[invoke ? 1 : 0], textNode = child.childNodes.find((c) => c.type === 'text' && c.data.includes('#'));
243
+ const child = childNodes[invoke ? 1 : 0], textNode = child.childNodes.find((c) => c.type === 'text' && (0, string_1.decodeHtml)(c.data).includes('#'));
244
244
  if (textNode) {
245
245
  const e = (0, lint_1.generateForChild)(child, rect, 'no-ignored', 'useless fragment');
246
246
  e.fix = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikiparser-node",
3
- "version": "1.12.6",
3
+ "version": "1.12.7",
4
4
  "description": "A Node.js parser for MediaWiki markup with AST",
5
5
  "keywords": [
6
6
  "mediawiki",
@@ -52,7 +52,7 @@
52
52
  "@codemirror/lint": "^6.8.0",
53
53
  "@types/node": "^20.11.6",
54
54
  "codejar-async": "^4.2.0",
55
- "monaco-editor": "^0.50.0",
55
+ "monaco-editor": "^0.51.0",
56
56
  "v8r": "^3.0.0"
57
57
  },
58
58
  "engines": {