unicode: fix non-di style selection
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 5 Jan 2011 22:14:40 +0000 (23:14 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 11 Jan 2011 22:41:38 +0000 (23:41 +0100)
Shiar_Sheet/FormatChar.pm

index 661bb7551e897881c28532c2aef51f774dfed6f5..f676ead1da9cb2a1f7951545f532a39bf513f86a 100644 (file)
@@ -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
                        }