Skip to content

Commit c8c2c99

Browse files
committed
fix: show 'no page-image found' for skipped pages in split page view
Signed-off-by: jhchoi1182 <[email protected]>
1 parent 83c6da4 commit c8c2c99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • docling_core/transforms/serializer

docling_core/transforms/serializer/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ def _serialize_page_img(page_img: Image):
10681068

10691069
if is_skipped_page:
10701070
# Render empty figure for skipped page (same structure as normal)
1071-
html_parts.append("<figure></figure>")
1071+
html_parts.append("<figure>no page-image found</figure>")
10721072
else:
10731073
page_img = self.doc.pages[page_no].image
10741074
vized_page = vized_pages_dict.get(page_no)

0 commit comments

Comments
 (0)