Commit 5ec5eb67 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for keeping notes numbering if any

parent b15f5175
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1676,7 +1676,7 @@ def update_notes(docx_input, docx_output):
            # Create new runs: r1="NOTE:" r2="tab" and append all original children
            r1 = OxmlElement('w:r')
            t1 = OxmlElement('w:t')
            t1.text = "NOTE:"
            t1.text = matched_note
            r1.append(t1)
            para.append(r1)
            
@@ -1719,7 +1719,7 @@ def update_notes(docx_input, docx_output):
            # Create new runs: r1="EXAMPLE:" r2="tab" and append all original children
            r1 = OxmlElement('w:r')
            t1 = OxmlElement('w:t')
            t1.text = "EXAMPLE:"
            t1.text = matched_example
            r1.append(t1)
            para.append(r1)