* Remove dups from the brokenlinks list.

master
joey 2006-05-06 03:57:43 +00:00
parent 746f6fdffb
commit afa57f5c07
2 changed files with 8 additions and 1 deletions

View File

@ -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

6
debian/changelog vendored
View File

@ -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