]> sipb.mit.edu Git - ikiwiki.git/commitdiff
(no commit message)
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Mon, 16 Sep 2013 08:50:00 +0000 (04:50 -0400)
committeradmin <admin@branchable.com>
Mon, 16 Sep 2013 08:50:00 +0000 (04:50 -0400)
doc/plugins/toc/discussion.mdwn

index 028437dba987100bd96b9e099c7195c7f85517c5..287ba5656cfc2a4bc517683970f3e25118f14070 100644 (file)
@@ -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]]