unicode: html styling
[sheet.git] / Shiar_Sheet / FormatChar.pm
index 0e5967807d68b8a2ec520b7523ebca166e08b136..661bb7551e897881c28532c2aef51f774dfed6f5 100644 (file)
@@ -88,6 +88,11 @@ sub cell {
                                push @class, ('l2', 'u-prop'); # unofficial
                        }
                }
                                push @class, ('l2', 'u-prop'); # unofficial
                        }
                }
+               elsif ($self->{style} eq 'html') {
+                       if (defined $entity) {
+                               push @class, ('l3', 'u-html');
+                       }
+               }
                else {
                        my $codepoint = ord(substr $input, 0, 1);
                        if ($codepoint <= 0xFF) {
                else {
                        my $codepoint = ord(substr $input, 0, 1);
                        if ($codepoint <= 0xFF) {