X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/017f784142bc2a77d8e283dc61ff6306e556387d..853d2447d4ee85d7a6a7511d6ecf1006f68ecba5:/charset.plp?ds=sidebyside diff --git a/charset.plp b/charset.plp index 33f02c7..7909fa8 100644 --- a/charset.plp +++ b/charset.plp @@ -6,6 +6,7 @@ my @tablist = split m{/+}, $Request || 'default'; Html({ title => 'charset cheat sheet', version => '1.3', + canonical => "/charset/$Request" . ($mode && '?compare'), description => [ "Reference sheet with all glyphs in common character encoding tables,", "and an overview of Unicode ranges and UTF-8 bytes.", @@ -14,7 +15,6 @@ Html({ charset codepage unicode ascii utf8 latin glyph character encoding reference common overview table '], - (stylesheet => [qw'light']) x !$mode, data => [qw( charset.inc.pl charset-encoding.inc.pl charset-unicode.inc.pl charset-ucplanes.inc.pl charset-utf8.inc.pl @@ -115,7 +115,7 @@ sub tabinput { } elsif (@parents) { $row{parent} = $parents[0]; - $params = $parents[1] if hex $parents[1] == 0; # apply ascii end + $params = $parents[1] if $parents[1] =~ /^0+-/; # apply ascii end } $visible->{$_} //= 0 for $row{parent} || (); }