From 2441819c7034e941eb55eb634f2ea18852db91db Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Thu, 28 Jul 2022 18:02:14 +0200 Subject: [PATCH] Remove hardcoded spaces and replace with SPAN and proper class (#6825) --- core/wiki/macros/toc.tid | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 470d0b804..6a6286ef3 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -3,11 +3,13 @@ tags: $:/tags/Macro \define toc-caption() \whitespace trim + <$set name="tv-wikilinks" value="no"> <$transclude field="caption"> <$view field="title"/> + \end \define toc-body(tag,sort:"",itemClassFilter,exclude,path) @@ -51,7 +53,6 @@ tags: $:/tags/Macro {{$:/core/images/down-arrow}} - <> <$reveal type="match" stateTitle=<> text="open"> @@ -71,14 +72,12 @@ tags: $:/tags/Macro <$reveal type="nomatch" stateTitle=<> text="open"> <$button setTitle=<> setTo="open" class="tc-btn-invisible tc-popup-keep"> {{$:/core/images/right-arrow}} - <> <$reveal type="match" stateTitle=<> text="open"> <$button setTitle=<> setTo="close" class="tc-btn-invisible tc-popup-keep"> {{$:/core/images/down-arrow}} - <> @@ -127,7 +126,6 @@ tags: $:/tags/Macro - <> <$reveal type="match" stateTitle=<> text="open"> @@ -147,14 +145,12 @@ tags: $:/tags/Macro <$reveal type="nomatch" stateTitle=<> text="open"> <$button setTitle=<> setTo="open" class="tc-btn-invisible tc-popup-keep"> {{$:/core/images/right-arrow}} - <> <$reveal type="match" stateTitle=<> text="open"> <$button setTitle=<> setTo="close" class="tc-btn-invisible tc-popup-keep"> {{$:/core/images/down-arrow}} - <>