From c1e33ccacb9ec03bf603855e3ccd0e0421d8582e Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 18 Jul 2012 14:28:17 +0100 Subject: [PATCH] Changed default type for typed blocks to be text/plain --- core/modules/parsers/newwikitextparser/rules/typedblock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/parsers/newwikitextparser/rules/typedblock.js b/core/modules/parsers/newwikitextparser/rules/typedblock.js index 8231cabe4..bc79f5c40 100644 --- a/core/modules/parsers/newwikitextparser/rules/typedblock.js +++ b/core/modules/parsers/newwikitextparser/rules/typedblock.js @@ -48,7 +48,7 @@ exports.parse = function(match,isBlock) { text = this.source.substr(this.pos); this.pos = this.sourceLength; } - var renderer = this.wiki.parseText(mimeType,text); + var renderer = this.wiki.parseText(mimeType,text,{defaultType: "text/plain"}); this.dependencies.mergeDependencies(renderer.dependencies); return renderer.tree; } else {