From 23bd7e7817c974a391f87962669b387520c4a2c7 Mon Sep 17 00:00:00 2001 From: Miha Lunar Date: Sun, 25 Apr 2021 13:12:45 +0200 Subject: [PATCH] Replaced restructuring and added fallback comment --- core/modules/parsers/wikiparser/wikiparser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/parsers/wikiparser/wikiparser.js b/core/modules/parsers/wikiparser/wikiparser.js index 9af8ddff0..922bb541f 100644 --- a/core/modules/parsers/wikiparser/wikiparser.js +++ b/core/modules/parsers/wikiparser/wikiparser.js @@ -168,6 +168,7 @@ WikiParser.prototype.findNextMatch = function(rules,startPos) { WikiParser.prototype.parseRule = function(rule) { var start = this.pos, blocks = rule.parse(); + // Use fallback parent range for blocks that don't define their own for(var i=0; i