From 1c5b3e3d8d1adc9dea87281586b2c08f37a4ca7a Mon Sep 17 00:00:00 2001 From: Nils-Hero Lindemann Date: Fri, 30 Aug 2019 18:20:16 +0200 Subject: [PATCH] Remove duplicate code from transcludeblock parser (#4221) --- core/modules/parsers/wikiparser/rules/transcludeblock.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/parsers/wikiparser/rules/transcludeblock.js b/core/modules/parsers/wikiparser/rules/transcludeblock.js index 1a5df1e06..56a4f63b8 100644 --- a/core/modules/parsers/wikiparser/rules/transcludeblock.js +++ b/core/modules/parsers/wikiparser/rules/transcludeblock.js @@ -27,8 +27,6 @@ exports.init = function(parser) { }; exports.parse = function() { - // Move past the match - this.parser.pos = this.matchRegExp.lastIndex; // Move past the match this.parser.pos = this.matchRegExp.lastIndex; // Get the match details