Support multiple > prefixes in header cells to span multiple columns.
my @colheads;
while ($digraphs->[0] !~ /^\./) {
my $cell = shift @$digraphs or last;
+ if ($cell eq '>') {
+ push @colheads, '<tr>';
+ 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
);
ipa => {
cons => [qw{
+ - >Labial >>>Coronal >>Dorsal >>Laryngeal >
- BiL:Bilabial LD:Labiodental D:Dental Alv:Alveolar PA:Postalveolar
Rf:Retroflex Pal:Palatal Vel:Velar Uv:Uvular Ph:Pharyngeal
EG:Epiglottal Gl:Glottal