]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Render.pm
nasty update to ugly hack to allow comment() pagespecs to work
[ikiwiki.git] / 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
                                # 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;
 
                                my $in=sub {
                                        my $list=shift;