Skip to content

Commit

Permalink
Fix indentation spaces on markdown lists
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Auer <[email protected]>
  • Loading branch information
cau-git committed Oct 22, 2024
1 parent bfcd07f commit b1ed859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docling_core/types/doc/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ def export_to_markdown( # noqa: C901
elif isinstance(item, ListItem) and item.label in [DocItemLabel.LIST_ITEM]:
in_list = True
# Calculate indent based on list_nesting_level
indent = " " * (
indent = " " * (
list_nesting_level - 1
) # -1 because level 1 needs no indent

Expand Down

0 comments on commit b1ed859

Please sign in to comment.