diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-06 04:45:57 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-06 04:45:57 -0400 |
commit | 2494a23fdd911eb7e85f2ea66607b4e08d87e927 (patch) | |
tree | 6d474e4e439b8697a78a8de31e54952cc2e7720e | |
parent | 2a0e6b782c90e92ee038c8db69032cab3f5431f2 (diff) |
fix handling of links+content dependency
Such a dependency is unlikely, but can happen.
-rw-r--r-- | IkiWiki/Render.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 7f311ddf9..e86314107 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -570,7 +570,8 @@ sub render_dependent ($$$$$$$) { next if $file eq $f; my $page=pagename($file); if ($sub->($page, location => $p)) { - if ($depends{$p}{$d} & $IkiWiki::DEPEND_LINKS) { + if ($depends{$p}{$d} & $IkiWiki::DEPEND_LINKS && + ! $depends{$p}{$d} & $IkiWiki::DEPEND_CONTENT) { next unless $linkchangers->{lc($page)}; } $reason = $page; |