X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/aad474b0ccf6fddd73b11d8c7ed4c57093ce1741..3f38a7192491a73a1527179cdd68218f023aed61:/unicode.plp?ds=inline diff --git a/unicode.plp b/unicode.plp index edad58c..1f74144 100644 --- a/unicode.plp +++ b/unicode.plp @@ -10,7 +10,6 @@ Html({ keywords => [qw' unicode glyph char character reference common ipa symbol sign mark table digraph '], - stylesheet => [qw'light dark mono circus red'], data => [qw( unicode-table.inc.pl data/unicode-char.inc.pl )], }); @@ -149,10 +148,11 @@ $glyphs->print(map { if (@select) { my $rowlen; - for ($rowlen = 1; $rowlen++; $rowlen <= $#$table) { + for ($rowlen = 1; $rowlen <= $#$table; $rowlen++) { last if $table->[$rowlen] =~ /\./; } my @cells = map { + s/^(?=-)/0/; my $end = (s/-(.+)?// ? ($1 // @$table / $rowlen - 1) : $_) + 1; $_ * $rowlen .. $end * $rowlen - 1; } @select;