mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 06:43:49 +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;
|
this.parser.pos = this.parser.sourceLength;
|
||||||
}
|
}
|
||||||
// Parse the block according to the specified type
|
// 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 there's no render type, just return the parse tree
|
||||||
if(!renderType) {
|
if(!renderType) {
|
||||||
return parser.tree;
|
return parser.tree;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user