Loading generateBaseline/postprocessing_styling.py +1 −1 Original line number Diff line number Diff line Loading @@ -986,7 +986,7 @@ def update_notes(docx_input, docx_output): counter_ew = 0 # Loop over all elements to find "BlockText" and change to "NO" for pStyle_elem in root.xpath('.//w:pStyle[@w:val="Block Text"]', namespaces=ns): for pStyle_elem in root.xpath('.//w:pStyle[@w:val="Blocktext"]', namespaces=ns): # Find the paragraph that contains this pStyle para = pStyle_elem while para is not None and para.tag != f"{{{ns['w']}}}p": Loading Loading
generateBaseline/postprocessing_styling.py +1 −1 Original line number Diff line number Diff line Loading @@ -986,7 +986,7 @@ def update_notes(docx_input, docx_output): counter_ew = 0 # Loop over all elements to find "BlockText" and change to "NO" for pStyle_elem in root.xpath('.//w:pStyle[@w:val="Block Text"]', namespaces=ns): for pStyle_elem in root.xpath('.//w:pStyle[@w:val="Blocktext"]', namespaces=ns): # Find the paragraph that contains this pStyle para = pStyle_elem while para is not None and para.tag != f"{{{ns['w']}}}p": Loading