1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-30 15:13:00 +00:00

Added inline transclusion as well as block transclusion

This commit is contained in:
Jeremy Ruston
2012-12-20 15:07:38 +00:00
parent 360e188e49
commit 055bdd8d8f
8 changed files with 99 additions and 21 deletions

View File

@@ -73,7 +73,7 @@ exports.generateChildNodes = function() {
})) {
templateParseTree = [{type: "text", text: "Tiddler recursion error in transclude widget"}];
} else {
var parser = this.renderer.renderTree.wiki.new_parseTiddler(this.templateTitle);
var parser = this.renderer.renderTree.wiki.new_parseTiddler(this.templateTitle,{parseAsInline: !this.renderer.parseTreeNode.isBlock});
templateParseTree = parser ? parser.tree : [];
}
}