X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/af47a19add81fd8fe81cc138b03080389d74cb52..312aed3a458ec9c00f3a9e261366cc62ba8cc952:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 834b71b..8054655 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -31,7 +31,7 @@ sub glyph_html { my ($self, $char) = @_; my $codepoint = ord $char; my $info = $self->glyph_info($codepoint); - my ($class, $name, $mnem, $html, $string) = @$info; + my ($class, $name, $mnem, $entity, $string) = @$info; my $cell = EscapeHTML($string || $char); my $title = sprintf 'U+%04X%s', $codepoint, $name && " ($name)"; @@ -39,7 +39,7 @@ sub glyph_html { $cell = "$cell" if $class =~ /\bZs\b/; $cell = ' ' if $cell eq ''; - return ($cell, EscapeHTML($title), "X $class", $mnem, $html); + return ($cell, EscapeHTML($title), "X $class", $mnem, $entity); } sub glyphs_html { @@ -231,6 +231,10 @@ sub table { $rows[-1] .= ''; next; } + elsif ($cell =~ m/^'.$cell; + next; + } $rows[-1] .= $self->cell($cell, $colspan > 1 && qq{colspan="$colspan"},