summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn b/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn
new file mode 100644
index 000000000..6c8040244
--- /dev/null
+++ b/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn
@@ -0,0 +1,22 @@
+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 ]]
+
+**not bold**
+
+`not fixed-pitch`
+
+# heading not rendered
+
+[not a link](http://ikiwiki.info)
+
+[[inline pages="news/*" description="Sparse News" show=1 feeds=no]]
+
+**bold**
+
+`fixed-pitch`
+
+# heading rendered
+
+[a link](http://ikiwiki.info)
+