Skip to content

Commit 3afcea4

Browse files
committed
format
1 parent cfb23a9 commit 3afcea4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docx_editor/track_changes.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,9 @@ def _replace_same_context(self, match: TextMapMatch, replace_with: str) -> int:
458458

459459
if before:
460460
xml_parts.append(f"<w:r>{rPr_xml}<w:t>{_escape_xml(before)}</w:t></w:r>")
461-
xml_parts.append(f"<w:del><w:r>{rPr_xml}<w:delText>{_escape_xml(matched)}</w:delText></w:r></w:del>")
461+
xml_parts.append(
462+
f"<w:del><w:r>{rPr_xml}<w:delText>{_escape_xml(matched)}</w:delText></w:r></w:del>"
463+
)
462464

463465
# Insert replacement after the last deletion
464466
if part_idx + part_sub_idx == total_parts:

0 commit comments

Comments
 (0)