common: separate javascript include to set styles
[sheet.git] / unicode.plp
index edad58c0b6fa87ed1749fa1dead112300e58e2d1..ffee44f386fbb0c6a5d154458fa678aff8dd3191 100644 (file)
@@ -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,7 +148,7 @@ $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 {