* Remove dups from the brokenlinks list.
parent
746f6fdffb
commit
afa57f5c07
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue