Fix problem reported by Alex at 4973307a4e7c50b6e4f1afdc6f2c44433f7e6f8f#commitcomment-23035223 #311
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix problem reported by Alex at 4973307#commitcomment-23035223. The issue is due to trying to set
$topList
when$top
is not a block-level element.Here is a reduced test case:
Without the patch, this should produce an error message (about not being able to use
topItem
onPGML::Text
). With the patch, it should produce the usual output (a list item with "item continued" as the text).Once this is pulled to PG-2.13, I will make a PR to develop to make sure the change is reflected there as well.