Skip to content

Commit

Permalink
inlcude option blocks for table cells in PGML
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc authored and Alex-Jordan committed Oct 10, 2023
1 parent 3eb23ff commit d0312b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/core/PGML.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ sub pushItem {
if ($item->{type} eq 'text') {
my $text = join('', @{ $item->{stack} });
PGML::Warning 'Table row text must be in cells' unless $text =~ m/^\s*$/;
} elsif ($item->{type} eq 'table-cell') {
} elsif ($item->{type} eq 'table-cell' || $item->{type} eq 'options') {
$self->SUPER::pushItem($item);
} elsif ($item->{type} eq 'comment') {
} else {
Expand Down

0 comments on commit d0312b8

Please sign in to comment.