diff --git a/js/WikiTextRenderer.js b/js/WikiTextRenderer.js index 86a7dd688..61dd7f051 100644 --- a/js/WikiTextRenderer.js +++ b/js/WikiTextRenderer.js @@ -191,7 +191,7 @@ WikiTextRenderer.macros = { theGroupParseTree = this.parser.processor.textProcessors.parse(groupTemplateType,groupTemplateText), theGroup = theGroupParseTree.render("text/plain",theGroupParseTree.children,this.store,tiddler); if(theGroup !== "") { - if(ul === undefined || theGroup != lastGroup) { + if(ul === undefined || theGroup !== lastGroup) { ul = {type: "ul", attributes: {"class": "timeline"}, children: []}; macroNode.output.push(ul); ul.children.push({type: "li", attributes: {"class": "listTitle"}, children: [{type: "text", value: theGroup}]}); @@ -207,10 +207,7 @@ WikiTextRenderer.macros = { children: [] }]}; ul.children.push(item); - var itemParseTree = this.parser.processor.textProcessors.parse(templateType,templateText); - for(var c=0; c 0) { @@ -312,10 +306,7 @@ WikiTextRenderer.macros = { var placeholderRegExp = new RegExp("\\$"+(t+1),"mg"); text = text.replace(placeholderRegExp,withTokens[t]); } - var parseTree = this.parser.processor.textProcessors.parse(tiddler.fields.type,text); - for(t=0; t