X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/28ac2dea2dcafa09f6d7246c8703225fb96efeea..a748ed6eb94a8cb8b7cf09ef9f87104e8f371f82:/Shiar_Sheet/FormatChar.pm
diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm
index ef0445d..839144f 100644
--- a/Shiar_Sheet/FormatChar.pm
+++ b/Shiar_Sheet/FormatChar.pm
@@ -8,7 +8,7 @@ use utf8;
use Data::Dump 'pp';
use PLP::Functions 'EscapeHTML';
-our $VERSION = '1.07';
+our $VERSION = '1.08';
our $uc = do 'unicode-char.inc.pl';
@@ -183,7 +183,7 @@ sub cell {
return sprintf('<%s>%s%s',
join(' ', 'td',
- defined $title ? qq{ title="$title"} : (),
+ defined $title ? qq{title="$title"} : (),
@class ? sprintf('class="%s"', join ' ', @class) : (),
$html || (),
),
@@ -192,33 +192,20 @@ sub cell {
);
}
-sub table {
- my ($self, $digraphs) = @_;
-
- my @rows;
-
- my @colheads;
- while ($digraphs->[0] !~ /^\./) {
- my $cell = shift @$digraphs or last;
- push @colheads, sprintf(
- '<%s%s>%s',
- $cell =~ s/^-// ? 'td' : 'th',
- $cell =~ s/:(.*)// ? qq{ title="$1"} : '',
- $cell eq '_' ? ' ' : $cell
- );
- }
- push @rows, sprintf '%s
%s', @{$_} } @classes), + ' |