unicode: one set of barb arrows from unicode 7.0
[sheet.git] / digits.plp
index 2bef8f3cfe2ba7db7375700a19fe671877fe1895..163ee1035a986b706a0f92cab3d151127080197e 100644 (file)
@@ -38,10 +38,10 @@ unless (exists $get{v}) {
 }
 
 my $scriptname = do 'writing-script.inc.pl';
-$_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
+$_ = showlink($_, "/latin") for $scriptname->{latn} || ();
 
 my $table = do "writing-digits.inc.pl";
-die "Table data not found: $_\n" for $@ || $! || ();
+Abort("Table data not found", 501, $_) for $@ || $! || ();
 
 sub printtable {
        say '<div class=section>', $glyphs->tabletag;
@@ -55,7 +55,6 @@ sub printtable {
 
 printtable(@{ $table->{$_} }) for @{ $table->{default} };
 
-:></div>
-
-<hr>
+say "</div>\n";
+say for '<hr/>', $glyphs->legend;