aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2013-09-16 04:50:00 -0400
committeradmin <admin@branchable.com>2013-09-16 04:50:00 -0400
commit96067ffdf2cdbabf40c0246f5cd55c3421f84dd2 (patch)
tree76675496c620fdae3ba3e50df0ca1fada8f6fa02 /doc
parent40eed4a3e9feaaaa11a50e5608f485996230429e (diff)
downloadikiwiki-96067ffdf2cdbabf40c0246f5cd55c3421f84dd2.tar
ikiwiki-96067ffdf2cdbabf40c0246f5cd55c3421f84dd2.tar.gz
Diffstat (limited to 'doc')
-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]]