summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 5f7bdfd06..61725ab84 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -396,9 +396,6 @@ sub htmllink ($$$;$$$) { #{{{
return "<span class=\"selflink\">$linktext</span>"
if length $bestlink && $page eq $bestlink;
- # TODO BUG: %renderedfiles may not have it, if the linked to page
- # was also added and isn't yet rendered! Note that this bug is
- # masked by the bug that makes all new files be rendered twice.
if (! grep { $_ eq $bestlink } map { @{$_} } values %renderedfiles) {
$bestlink=htmlpage($bestlink);
}