From 456b8f9ba8a45a980a0932104851c8f708b9c00a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 16 Oct 2012 19:14:04 +0100 Subject: [PATCH] Fixed list macro to work properly in inline mode --- core/modules/macros/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/macros/list.js b/core/modules/macros/list.js index ae423dccc..17d507e3f 100644 --- a/core/modules/macros/list.js +++ b/core/modules/macros/list.js @@ -44,7 +44,7 @@ exports.executeMacro = function() { if(this.classes) { $tw.utils.pushTop(attributes["class"],this.classes); } - this.listFrame = $tw.Tree.Element("div",attributes,[]); + this.listFrame = $tw.Tree.Element(this.isBlock ? "div" : "span",attributes,[]); // Create each list element for(var t=0; t