X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/9afb22425e28f6f3e9a53f06e19ad4279562d810..493613a1a6f65eed64f84c4d1bdd2f539416d786:/digraphs.plp diff --git a/digraphs.plp b/digraphs.plp index ce14962..84ac971 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -23,7 +23,8 @@ Also see common digraphs.

are available as ex commands.

<: -my $di = do 'digraphs.inc.pl'; +my $di = do 'digraphs.inc.pl' + or die "Error loading digraphs data: ", $@ // $!; my @chars = ( [qw{! " % ' ( ) * + , - . /}], @@ -66,7 +67,7 @@ for my $c1group (@chars) { my @class = ('X', grep {$_} $prop, $script); $glyph = EscapeHTML($glyph); - $glyph = "$glyph" if $prop =~ /\bZs\b/; + $glyph = "$glyph" if $script =~ /\bZs\b/; printf "\n".'%s', join(' ', @class), EscapeHTML($desc), $glyph;