From 0641685fc8b2546a7c6e255588a5e413ca338046 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 13 Jun 2012 09:10:50 +0100 Subject: [PATCH] Fixes for tags macro --- core/modules/macros/tags.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/modules/macros/tags.js b/core/modules/macros/tags.js index 71f11ddf7..d58b58e8f 100644 --- a/core/modules/macros/tags.js +++ b/core/modules/macros/tags.js @@ -27,7 +27,8 @@ exports.info = { exports.executeMacro = function() { var tiddler = this.wiki.getTiddler(this.tiddlerTitle), - child = $tw.Tree.Element("div",{"class":"tw-tags-wrapper"},[]); + child = $tw.Tree.Element("div",{"class":"tw-tags-wrapper"},[]), + parents = this.parents.slice(0); if(tiddler && tiddler.fields.tags) { for(var t=0; t