nasty update to ugly hack to allow comment() pagespecs to work
authorJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 16:43:51 +0000 (12:43 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 16:43:51 +0000 (12:43 -0400)
IkiWiki/Render.pm

index c9ba95363a8a60b49b609a59a7617f79bb22c96f..8b1b9aef4353daec5612c98d3b28dde58d832113 100644 (file)
@@ -641,7 +641,7 @@ sub render_dependent ($$$$$$$) {
                                # only consider internal files
                                # if the page explicitly depends
                                # on such files
-                               my $internal_dep=$dep =~ /internal\(/;
+                               my $internal_dep=$dep =~ /(?:internal|comment|comment_pending)\(/;
 
                                my $in=sub {
                                        my $list=shift;