From d0312b8844e1635c857e72a0807120079531ed0c Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 21 Aug 2023 17:01:12 -0700 Subject: [PATCH] inlcude option blocks for table cells in PGML --- macros/core/PGML.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/core/PGML.pl b/macros/core/PGML.pl index 20cee9c10c..4d2bc2f90b 100644 --- a/macros/core/PGML.pl +++ b/macros/core/PGML.pl @@ -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 {