1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Corrected typed block wikitext rule

This commit is contained in:
Jeremy Ruston 2012-05-09 17:34:45 +01:00
parent 1741ea2df9
commit 92e3eb233a

View File

@ -412,13 +412,13 @@ var rules = [
oldNextMatch = w.nextMatch,
oldChildren = w.children,
oldDependencies = w.dependencies,
parseTree = w.wiki.parseText(mimeType,content,{defaultType: "text/plain"});
parseTree = w.wiki.parseText(mimeType,content,{defaultType: "text/plain"}).tree;
w.output = oldOutput;
w.source = oldSource;
w.nextMatch = oldNextMatch;
w.children = oldChildren;
w.dependencies = oldDependencies;
w.output.push.apply(w.output,parseTree.nodes);
w.output.push.apply(w.output,parseTree);
w.nextMatch = this.lookaheadRegExp.lastIndex;
}
}