We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389aba6 commit 66f2b4bCopy full SHA for 66f2b4b
pydocx/export/html.py
@@ -467,6 +467,9 @@ def export_listing_paragraph_property_indentation(
467
468
level_ind_left = level_properties.to_int('indentation_left', default=0)
469
level_ind_hanging = level_properties.to_int('indentation_hanging', default=0)
470
+ level_ind_first_line = level_properties.to_int('indentation_first_line', default=0)
471
+ # There are cases when hanging is not defined for level and instead is used firstLine
472
+ level_ind_hanging = level_ind_hanging or level_ind_first_line
473
474
paragraph_ind_left = paragraph_properties.to_int('indentation_left', default=0)
475
paragraph_ind_hanging = paragraph_properties.to_int('indentation_hanging', default=0)
0 commit comments