latin: restore experimental class of ambiguous tap code
[sheet.git] / writing-latn.inc.pl
index c344eb6ba0057447a32e96b3646f87b88eef8c12..7f342b145e694293b8c46ebc6af943b904cd5a2f 100644 (file)
@@ -3,9 +3,9 @@ use utf8;
 sub disptap {
        return map {
                m/\A(-?)(\d)(\d)/;
-               sprintf('<td style="line-height:1ex">%s</td>',
-                       #TODO: prepend $1
-                       join "<br>\n", '·' x $2, '·' x $3,
+               sprintf('<td style="line-height:1ex"%s>%s<br>%s</td>',
+                       ' class=ex' x !!$1,
+                       '·' x $2, '·' x $3,
                );
        } @_;
 }