From: Mischa POSLAWSKY Date: Wed, 5 Jan 2011 22:14:40 +0000 (+0100) Subject: unicode: fix non-di style selection X-Git-Tag: v1.5~78 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/193d10e6034b48611e9ce97d07bcfdf0eef08a65 unicode: fix non-di style selection --- diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 661bb75..f676ead 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -80,7 +80,7 @@ sub cell { $input =~ s/^\\//; # escaped char ($cell, $title, my $class, $mnem, $entity) = $self->glyphs_html($input); - if ($self->{style} = 'di') { + if ($self->{style} eq 'di') { if ($class =~ /\bu-di\b/) { push @class, ('l3', 'u-di'); # standard digraph }