X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/137be49b9a79623be00aa0cb1f416599949b1cf9..6ae2e63f9d7f8944b507b7396686a733c6422739:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 759ca85..4668c55 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.04'; +our $VERSION = '1.05'; our $diinfo = do 'digraphs.inc.pl'; our %di = map { $diinfo->{$_}->[0] => $_ } grep { ref $diinfo->{$_} } @@ -205,11 +205,13 @@ sub table { sub print { my $self = shift; while (@_) { - printf '

%s

'."\n\n", shift; + print '
'; + printf '

%s

', shift unless ref $_[0]; + print "\n\n"; while (ref $_[0] and $_ = shift) { print $self->table($_); } - print '
'; + print "\n
"; } }