Allow finishing anonymous inline-table at the end of inline elements (#31650)

This avoids inserting it outside of its parent.
This commit is contained in:
Oriol Brufau 2024-03-14 10:58:00 +01:00 committed by GitHub
parent 871a9bf677
commit 0e78c8114b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 0 deletions

View file

@ -487,6 +487,8 @@ where
.unwrap()
.traverse(self.context, info, self);
self.finish_anonymous_table_if_needed();
let mut inline_box = self
.ongoing_inline_boxes_stack
.pop()