git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
latin: prevent line wrapping of code39 bars
[sheet.git]
/
latin.plp
diff --git
a/latin.plp
b/latin.plp
index 4326f550f8cb6d26f2224bb7e71000579f1acbe9..6de3fa5ce9e5eccf12a1686e2af2a4807cf51ec6 100644
(file)
--- a/
latin.plp
+++ b/
latin.plp
@@
-27,10
+27,12
@@
Html({
line-height: 1ex;
}
#old-roman-cursive {
line-height: 1ex;
}
#old-roman-cursive {
- stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
}
stroke-linecap: round;
stroke-linejoin: round;
}
+ #code-39 {
+ white-space: nowrap;
+ }
svg path:not([fill]) {
stroke: currentColor;
svg path:not([fill]) {
stroke: currentColor;
@@
-67,7
+69,21
@@
else {
my ($title, $cells) = @{$row};
printf '<tr id="%s">', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
say '<th>', $title;
my ($title, $cells) = @{$row};
printf '<tr id="%s">', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr;
say '<th>', $title;
- say "\t", '<td>' x !/^<td/, $_ for @{$cells};
+ my $colspan = 1;
+ for (@{$cells}) {
+ if ($_ eq '>') {
+ $colspan++;
+ next;
+ }
+ print "\t<td";
+ if ($colspan > 1) {
+ print " colspan=$colspan";
+ $colspan = 1;
+ }
+ print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//;
+ print '>';
+ say;
+ }
}
say "</table>\n";
}
}
say "</table>\n";
}