Refactor parser rule architecture to allow individual parsers to function as both block and inline parsers

This commit is contained in:
Jeremy Ruston
2012-12-20 16:02:03 +00:00
parent 2f091fefda
commit 42945789e9
24 changed files with 67 additions and 43 deletions
@@ -28,7 +28,8 @@ WikifiedViewer.prototype.render = function() {
tag: "transclude",
attributes: {
target: {type: "string", value: this.tiddler.fields.title}
}
},
isBlock: this.viewWidget.renderer.parseTreeNode.isBlock
}];
} else {
parseTree = this.viewWidget.renderer.renderTree.wiki.new_parseText("text/vnd.tiddlywiki",this.value).tree;