Added inline variant of filtered transclusion syntax

This commit is contained in:
Jeremy Ruston
2012-12-23 10:47:14 +00:00
parent c3a2a24b76
commit 11d001ad80
3 changed files with 68 additions and 2 deletions
+2 -2
View File
@@ -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(" ")}
},