From: http://smcv.pseudorandom.co.uk/ Date: Mon, 16 Sep 2013 08:50:00 +0000 (-0400) Subject: (no commit message) X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/96067ffdf2cdbabf40c0246f5cd55c3421f84dd2 --- 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 `...` 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]]