diff options
-rw-r--r-- | IkiWiki/Plugin/brokenlinks.pm | 3 | ||||
-rw-r--r-- | debian/changelog | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index 50bbe0d54..22590366b 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -35,7 +35,8 @@ sub preprocess (@) { #{{{ } return "There are no broken links!" unless @broken; - return "<ul>\n".join("\n", map { "<li>$_</li>" } sort @broken)."</ul>\n"; + my %seen; + return "<ul>\n".join("\n", map { "<li>$_</li>" } grep { ! $seen{$_}++ } sort @broken)."</ul>\n"; } # }}} 1 diff --git a/debian/changelog b/debian/changelog index 12d3752e0..413d0e12e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (1.2) UNRELEASED; urgency=low + + * Remove dups from the brokenlinks list. + + -- Joey Hess <joeyh@debian.org> Fri, 5 May 2006 23:56:32 -0400 + ikiwiki (1.1) unstable; urgency=low * Rename inlinepage to depends, so that it can be used to refer to more |