latin: plain html output instead of FormatChar module
[sheet.git] / writing-latn.inc.pl
index 917ae119389a9ee9c2d6333c9f4e428a1251cb52..6c0edad04f1d9589d968fa3c28b90cde0f640bf1 100644 (file)
@@ -141,12 +141,11 @@ my %C = qw(red #EC1C24  blue #3953A3  yellow #F9EC31  black #231F20);
                local $_ = $_;
                s/[1-4]\K(?=[4-9])/ /;
                tr/1-9/↙←↖↑↗→↘↓/;
-               s{(.)(?=.)}{<span style="position:absolute">$1</span>}
-                       or s/^/<span>/ and $_ .= '</span>';
+               s{(\S)(?=.)}{<span style="position:absolute">$1</span>};
                $_
        }
        qw(
-               1 2 3 4 5  6 7 21 31 46  14 15 16 17 23
+               1 2 3 4 5  6 7 21 31 46  14 51 16 17 23
                24 25 26 27 34  35 47 56 57 36  67
        )
 ],