Skip to content

Commit bebfbdb

Browse files
committed
fix: remove page marker comments from short doc source markdown
1 parent f38781e commit bebfbdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openkb/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def convert_pdf_with_images(pdf_path: Path, doc_name: str, images_dir: Path) ->
8989
for page_idx in range(len(doc)):
9090
page = doc[page_idx]
9191
page_num = page_idx + 1
92-
parts.append(f"\n\n<!-- Page {page_num} -->\n")
92+
parts.append("\n\n")
9393

9494
for block in page.get_text("dict")["blocks"]:
9595
if block["type"] == 0: # text block

0 commit comments

Comments
 (0)