Commit b5799805 authored by Jonas Schüppen's avatar Jonas Schüppen
Browse files

Small change

parent 83a0b5b9
Loading
Loading
Loading
Loading
Loading
−1
Changes for generateBaseline/postprocessing.py: 0 added lines, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -2848,7 +2848,6 @@ def add_break_after_code_blocks_and_tables(docx_input, docx_output):
            return None
            return None
        return style_elems[0].get(w_val)
        return style_elems[0].get(w_val)



    def _normalize_ws(text):
    def _normalize_ws(text):
        # Normalize tabs/non-breaking spaces/multiple spaces for robust heading match.
        # Normalize tabs/non-breaking spaces/multiple spaces for robust heading match.
        return re.sub(r'\s+', ' ', text.replace('\u00A0', ' ')).strip()
        return re.sub(r'\s+', ' ', text.replace('\u00A0', ' ')).strip()