unicode: fix non-di style selection
[sheet.git] / 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
                        }