diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 9d4285c76..4747547a9 100644 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -268,6 +268,9 @@ Options are: exports.parseText = function(type,text,options) { options = options || {}; var parser = this.parsers[type]; + if(!parser && $tw.config.fileExtensions[type]) { + parser = this.parsers[$tw.config.fileExtensions[type].type]; + } if(!parser) { parser = this.parsers[options.defaultType || "text/x-tiddlywiki"]; }