git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
browser: repeat colgroup headers as table footer
[sheet.git]
/
Shiar_Sheet
/
FormatChar.pm
diff --git
a/Shiar_Sheet/FormatChar.pm
b/Shiar_Sheet/FormatChar.pm
index 656252c34b29bdad403cc26e35010870581d2d49..a80625839c6386d9b80c1c18bae5a2798695da0a 100644
(file)
--- a/
Shiar_Sheet/FormatChar.pm
+++ b/
Shiar_Sheet/FormatChar.pm
@@
-6,7
+6,7
@@
use warnings;
use Data::Dump 'pp';
use PLP::Functions 'EscapeHTML';
use Data::Dump 'pp';
use PLP::Functions 'EscapeHTML';
-our $VERSION = '1.0
2
';
+our $VERSION = '1.0
3
';
our $diinfo = do 'digraphs.inc.pl';
our %di = map { $diinfo->{$_}->[0] => $_ } grep { ref $diinfo->{$_} }
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
for my $cell (@$digraphs) {
if ($cell =~ s/^\.//) {
# dot indicates start of a new row
- push @rows, '';
+ push @rows, '
<tr>
';
if ($cell =~ s/^>//) {
# header cell text follows
$cell =~ s/_/ /g; # underscores may be used instead of whitespace (for qw//ability)
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{<table class="glyphs%s">\n%s</table>\n},
$self->{digraph} || $self->{unicode} >= 0 ? ' dilabel' : '',
return sprintf qq{<table class="glyphs%s">\n%s</table>\n},
$self->{digraph} || $self->{unicode} >= 0 ? ' dilabel' : '',
- join '', map {"
<tr>
$_\n"} @rows;
+ join '', map {"$_\n"} @rows;
}
sub print {
}
sub print {