X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/65ee755208200729b5754d38aa35dc168251c3e7..bba0d5b6fb0b1bbe6b5bb4a84c72de2152d8dfe3:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 78e4a21..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 {