aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-31 14:37:27 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-31 14:37:27 -0400
commitcc26a499253b5a0458924992f70678b81811ec70 (patch)
tree6e15990838225f3916754702b9270e92b2414edc /doc/bugs
parentc00890a2f033aa36dd5d88f8d3bdd5b7a927a687 (diff)
parentff6433179e7b0d6d5c04ec09f648c619d16e4eb8 (diff)
downloadikiwiki-cc26a499253b5a0458924992f70678b81811ec70.tar
ikiwiki-cc26a499253b5a0458924992f70678b81811ec70.tar.gz
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/nested_inlines_produce_no_output.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/nested_inlines_produce_no_output.mdwn b/doc/bugs/nested_inlines_produce_no_output.mdwn
new file mode 100644
index 000000000..c40a847b0
--- /dev/null
+++ b/doc/bugs/nested_inlines_produce_no_output.mdwn
@@ -0,0 +1,10 @@
+If an inlined page itself contains an inline directive, the nested directive will produce no output. In [this example wiki](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/), the following pages exist:
+
+ * _pets_: contains some content, and the directive `inline pages="pets/* and !pets/*/*"` to inline its immediate children.
+ * _pets/dogs_: some content, and `inline pages="pets/dogs/*"`.
+ * _pets/dogs/fifi_, _pets/dogs/rover_: content.
+ * _pets/cats_, _pets/cats/mumu_, _pets/cats/ceefer_: similar.
+
+When rendered, _pets_ [contains](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/) the content from _pets/dogs_ and _pets/cats_, but not the pages inlined into them. However, the subpages [correctly](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/dogs/) [include](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/cats/) their own children.
+
+This used to work in at least ikiwiki 1.45. I stepped through `preprocess_inline`, but couldn't see why this wasn't working.