X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/921547406c8cdd5b4cffee21bca0ee56f23251dc..da9b71275d04f35c77a48e3bbaee356c04fd24b2:/latin.plp
diff --git a/latin.plp b/latin.plp
index ed6f65b..c9c59ad 100644
--- a/latin.plp
+++ b/latin.plp
@@ -119,7 +119,9 @@ else {
printf '
', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
say '', $title;
my $colspan = 1;
+ my $col = 0;
for (@{$cells}) {
+ $col++;
if ($_ eq '>') {
$colspan++;
next;
@@ -129,6 +131,7 @@ else {
print " colspan=$colspan";
$colspan = 1;
}
+ print ' hidden' if $col > 26; # sample only
print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//;
print '>';
say;
|