X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e9cb855977ddc299c5ef1d74ce260e4ad4e21a08..2034c72e12562eda33ce53d92cfef2216b6fcf3e:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 656252c..a806258 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -6,7 +6,7 @@ use warnings; use Data::Dump 'pp'; use PLP::Functions 'EscapeHTML'; -our $VERSION = '1.02'; +our $VERSION = '1.03'; our $diinfo = do 'digraphs.inc.pl'; our %di = map { $diinfo->{$_}->[0] => $_ } grep { ref $diinfo->{$_} } @@ -142,7 +142,7 @@ sub table { for my $cell (@$digraphs) { if ($cell =~ s/^\.//) { # dot indicates start of a new row - push @rows, ''; + push @rows, ''; if ($cell =~ s/^>//) { # header cell text follows $cell =~ s/_/ /g; # underscores may be used instead of whitespace (for qw//ability) @@ -165,7 +165,7 @@ sub table { return sprintf qq{\n%s
\n}, $self->{digraph} || $self->{unicode} >= 0 ? ' dilabel' : '', - join '', map {"$_\n"} @rows; + join '', map {"$_\n"} @rows; } sub print {