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:
parent
a99f912bad
commit
c96cb6e956
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user