From a2cbc2deb523dc4ebe1321766a28b12010d68820 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 9 Feb 2014 19:19:40 +0000 Subject: [PATCH] Rejig the tabs macro to wikify captions This will allow us to translate tab captions --- core/ui/PageMacros.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/PageMacros.tid b/core/ui/PageMacros.tid index 0afc502be..65b498ada 100644 --- a/core/ui/PageMacros.tid +++ b/core/ui/PageMacros.tid @@ -1,7 +1,7 @@ title: $:/core/ui/PageMacros \define tabs(tabsList,default,state:"$:/state/tab") -
<$list filter="$tabsList$" variable="currentTab"><$button set=<> setTo=<> default="$default$" selectedClass="tw-tab-selected"><$view tiddler=<> field="caption"><$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/> +
<$list filter="$tabsList$" variable="currentTab"><$button set=<> setTo=<> default="$default$" selectedClass="tw-tab-selected"><$transclude tiddler=<> field="caption"><$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/>