X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b4e3ab4c99479faa0b03df7b45e8c69d301e09b8..6128725dadf468083e2e201b4453a365da81ba8b:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 0e59678..661bb75 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -88,6 +88,11 @@ sub cell { 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) {