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"/>
$transclude>
$set>
+
\end
\define toc-body(tag,sort:"",itemClassFilter,exclude,path)
@@ -51,7 +53,6 @@ tags: $:/tags/Macro
{{$:/core/images/down-arrow}}
$button>
$reveal>
-
<>
$link>
<$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}}
-
<>
$button>
$reveal>
<$reveal type="match" stateTitle=<> text="open">
<$button setTitle=<> setTo="close" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/down-arrow}}
-
<>
$button>
$reveal>
@@ -127,7 +126,6 @@ tags: $:/tags/Macro
$button>
$reveal>
$list>
-
<>
$link>
<$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}}
-
<>
$button>
$reveal>
<$reveal type="match" stateTitle=<> text="open">
<$button setTitle=<> setTo="close" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/down-arrow}}
-
<>
$button>
$reveal>