Skip to content

Commit 57d9d35

Browse files
giulio-leoneCopilot
andcommitted
style(docx): rerun ruff formatter for msword backend
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4909e54 commit 57d9d35

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docling/backend/msword_backend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,7 @@ def _handle_text_elements(
10951095
parent = self.parents[level - 1]
10961096
if len(equations) > 1:
10971097
for eq in equations:
1098-
eq_text = (
1099-
eq.replace("<eq>", "").replace("</eq>", "").strip()
1100-
)
1098+
eq_text = eq.replace("<eq>", "").replace("</eq>", "").strip()
11011099
if len(eq_text) > 0:
11021100
t1 = doc.add_text(
11031101
label=DocItemLabel.FORMULA,

0 commit comments

Comments
 (0)