latin: prevent line wrapping of code39 bars
[sheet.git] / latin.plp
index 671d6d7603bc206186d79a7f8846034eff472d59..6de3fa5ce9e5eccf12a1686e2af2a4807cf51ec6 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -27,10 +27,12 @@ Html({
                line-height: 1ex;
        }
        #old-roman-cursive {
-               stroke-width: 3;
                stroke-linecap: round;
                stroke-linejoin: round;
        }
+       #code-39 {
+               white-space: nowrap;
+       }
 
        svg path:not([fill]) {
                stroke: currentColor;
@@ -78,7 +80,8 @@ else {
                                print " colspan=$colspan";
                                $colspan = 1;
                        }
-                       print '>' unless s/^<td//;
+                       print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//;
+                       print '>';
                        say;
                }
        }