mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-18 15:50:42 +00:00
Added inline variant of filtered transclusion syntax
This commit is contained in:
@@ -55,7 +55,7 @@ exports.generateChildNodes = function() {
|
||||
var classes = ["tw-list-frame"];
|
||||
this.children = this.renderer.renderTree.createRenderers(this.renderer.renderContext,[{
|
||||
type: "element",
|
||||
tag: "div",
|
||||
tag: this.renderer.parseTreeNode.isBlock ? "div" : "span",
|
||||
attributes: {
|
||||
"class": {type: "string", value: classes.join(" ")}
|
||||
},
|
||||
@@ -104,7 +104,7 @@ exports.createListElement = function(title) {
|
||||
// Return the list element
|
||||
return {
|
||||
type: "element",
|
||||
tag: "div",
|
||||
tag: this.renderer.parseTreeNode.isBlock ? "div" : "span",
|
||||
attributes: {
|
||||
"class": {type: "string", value: classes.join(" ")}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user