X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/902eb27b5902755d9ab891d85fa5febfd6fd69e9..v1.9-294-gb3b5d17665:/charset.plp?ds=sidebyside
diff --git a/charset.plp b/charset.plp
index 8e67c67..726ca7c 100644
--- a/charset.plp
+++ b/charset.plp
@@ -36,18 +36,10 @@ else {
say "Charset comparison:";
}
-sub optionlink {
- my ($title, $href, $selected) = @_;
- return sprintf(
- $selected ? '%s' : '%s',
- EscapeHTML($title), $href
- );
-}
-
print join " â¢\n", (
map {
join " ·\n", pairmap {
- optionlink($b || ucfirst $a, '/charset'.($a && "/$a?compare"), $a eq $Request);
+ showlink($b || ucfirst $a, '/charset'.($a && "/$a?compare"), $a eq $Request);
} @{$_}
}
[