We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 681249b + 11fa3be commit 7d95186Copy full SHA for 7d95186
1 file changed
macros/core/PGML.pl
@@ -270,8 +270,8 @@ sub Terminate {
270
}
271
$self->{block} = $prev;
272
if ($block->{stack}) {
273
- if (scalar(@{ $block->{stack} }) == 0) { $prev->popItem }
274
- elsif ($block->{combine}) { $prev->combineTopItems }
+ if (!$block->{isContainer} && scalar(@{ $block->{stack} }) == 0) { $prev->popItem }
+ elsif ($block->{combine}) { $prev->combineTopItems }
275
276
277
0 commit comments