aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/toc/discussion.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/toc/discussion.mdwn')
-rw-r--r--doc/plugins/toc/discussion.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/plugins/toc/discussion.mdwn b/doc/plugins/toc/discussion.mdwn
index 028437dba..287ba5656 100644
--- a/doc/plugins/toc/discussion.mdwn
+++ b/doc/plugins/toc/discussion.mdwn
@@ -17,3 +17,10 @@ copy of the template and removing its `<TMPL_UNLESS text>...</TMPL_UNLESS>`
section. Besides needing to generate guaranteed-unique anchor names,
are there other reasons this directive couldn't be made to work on
inlined pages? --[[schmonz]]
+
+> Workaround: `\[[!template id=note text=" \[[!toc]]"]]`
+> (with whitespace) should work, because then Perl will consider
+> the string to be a true value.
+>
+> Longer-term, my branch on [[bugs/template_creation_error]]
+> aims to fix this sort of thing. --[[smcv]]