X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/ec5ddd9a4ffdf3aba86d1302a010819d88c1f456..82f19216a4f99bb2d60c01a96383f1a365ec81e8:/doc/bugs.mdwn diff --git a/doc/bugs.mdwn b/doc/bugs.mdwn index c646242aa..64120d34f 100644 --- a/doc/bugs.mdwn +++ b/doc/bugs.mdwn @@ -33,3 +33,6 @@ * if a page containing an rss feed happens to show up in an rss feed, the preprocessor directives won't be expanded (good) but are left in raw rather than removed (bad). +* add_depends() needs work. If there are two preprocessor directives on a page, and one calls add_depends("foo"), while the other calls add_depends("* !foo"), the second one wins, page foo will not be matched by the appended globlist. + + What it needs to do is be smarter about merging depends, so if "foo" is added to "!foo", it should yeild "foo"; adding "!foo" to "foo" should again yeild "foo". That's easy, what's hard is when there are globs involved and potentially partially overlapping included and excluded subsets.. \ No newline at end of file