X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e42bf56734a8ef1b890fb42df3dbb719456de225..887c3bf51abe9f83b4892c48437a7947ebb7fa5d:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index d7c59c1..71dadfe 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -248,11 +248,15 @@ sub table { my @colheads; while ($digraphs->[0] !~ /^\./) { my $cell = shift @$digraphs or last; + if ($cell eq '>') { + push @colheads, ''; + next; + } push @colheads, join('', '<', $cell =~ s/^-// ? 'td' : 'th', $cell =~ s/:(.*)// && qq{ title="$1"}, - $cell =~ s/^>// && ' colspan=2', + $cell =~ s/^(>+)// && ' colspan='.(length($1) + 1), '>', $cell eq '_' ? ' ' : $cell );