git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: include from cwd to work around perl v5.26 security
[sheet.git]
/
charset.plp
diff --git
a/charset.plp
b/charset.plp
index 8e67c670bf8ad6a8d59b0e94f844a15e3be40947..0dd153745b354e7b8c5c0d99380e70d991a04a52 100644
(file)
--- a/
charset.plp
+++ b/
charset.plp
@@
-5,7
+5,7
@@
my @tablist = split m{/+}, $Request || 'default';
Html({
title => 'charset cheat sheet',
Html({
title => 'charset cheat sheet',
- version => '1.
0
',
+ version => '1.
1
',
description => [
"Reference sheet with all glyphs in common character encoding tables,",
"and an overview of Unicode ranges and UTF-8 bytes.",
description => [
"Reference sheet with all glyphs in common character encoding tables,",
"and an overview of Unicode ranges and UTF-8 bytes.",
@@
-36,18
+36,10
@@
else {
say "Charset comparison:";
}
say "Charset comparison:";
}
-sub optionlink {
- my ($title, $href, $selected) = @_;
- return sprintf(
- $selected ? '<strong>%s</strong>' : '<a href="%2$s">%s</a>',
- EscapeHTML($title), $href
- );
-}
-
print join " •\n", (
map {
join " ·\n", pairmap {
print join " •\n", (
map {
join " ·\n", pairmap {
-
option
link($b || ucfirst $a, '/charset'.($a && "/$a?compare"), $a eq $Request);
+
show
link($b || ucfirst $a, '/charset'.($a && "/$a?compare"), $a eq $Request);
} @{$_}
}
[
} @{$_}
}
[