fix processed_content used before assignment

This commit is contained in:
wizardchen
2025-08-21 10:26:37 +08:00
committed by lyingbug
parent 5848c74e8d
commit f8394c7e4d
@@ -911,6 +911,7 @@ class Docx:
# Process content in original sequence order
for line_data in lines:
processed_content = []
if line_data.content_sequence: # Check if we have processed_content
processed_content = line_data.content_sequence
page_num = line_data.page_num