]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn
add
[ikiwiki.git] / doc / bugs / wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn
index 6c80402449eb1f52a27d0698465b9610ff382e3c..29e03f2d61f12a5ce2212ff1a6247ea1fc62390e 100644 (file)
@@ -1,6 +1,15 @@
-Wiki formatting between `\[[toc ]]` and an inline fails to render.  The problem does not seem to trigger if the inline uses the titlepage template, or if it doesn't match any pages.  See example below; also reproducible with a single-file wiki containing the text below, rendered via `ikiwiki --plugin toc`.
+Wiki formatting between `\[[!toc ]]` and an inline fails to render.  The
+problem does not seem to trigger if the inline uses the titlepage template,
+or if it doesn't match any pages.  See example below; also reproducible
+with a single-file wiki containing the text below, rendered via `ikiwiki
+--plugin toc`.
 
-[[toc ]]
+> This is [[!debbug 421843]], and I suspect it affects certian other plugins
+> that also use empty divs as placeholders. It's fixed in markdown 1.0.2 b7
+> (available in debian experimental). So I'll [[close|done]] this as it's
+> not really an ikiwiki bug. --[[Joey]]
+
+[[!toc ]]
 
 **not bold**
 
@@ -10,7 +19,7 @@ Wiki formatting between `\[[toc ]]` and an inline fails to render.  The problem
 
 [not a link](http://ikiwiki.info)
 
-[[inline pages="news/*" description="Sparse News" show=1 feeds=no]]
+[[!inline pages="news/*" description="Sparse News" show=1 feeds=no]]
 
 **bold**
 
@@ -19,4 +28,3 @@ Wiki formatting between `\[[toc ]]` and an inline fails to render.  The problem
 # heading rendered
 
 [a link](http://ikiwiki.info)
-