From c96cb6e95659631ab3fdf5141b5aa81e70511f4d Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 21 Oct 2013 20:20:44 +0100 Subject: [PATCH] Parse typed blocks with the new parser --- core/modules/parsers/wikiparser/rules/typedblock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/parsers/wikiparser/rules/typedblock.js b/core/modules/parsers/wikiparser/rules/typedblock.js index 0355b1f90..6af2742f6 100644 --- a/core/modules/parsers/wikiparser/rules/typedblock.js +++ b/core/modules/parsers/wikiparser/rules/typedblock.js @@ -57,7 +57,7 @@ exports.parse = function() { this.parser.pos = this.parser.sourceLength; } // Parse the block according to the specified type - var parser = this.parser.wiki.parseText(parseType,text,{defaultType: "text/plain"}); + var parser = this.parser.wiki.new_parseText(parseType,text,{defaultType: "text/plain"}); // If there's no render type, just return the parse tree if(!renderType) { return parser.tree;