1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Parse typed blocks with the new parser

This commit is contained in:
Jeremy Ruston 2013-10-21 20:20:44 +01:00
parent a99f912bad
commit c96cb6e956

View File

@ -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;