Loading generateBaseline/postprocessing.py +1 −1 Changes for generateBaseline/postprocessing.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -3375,7 +3375,7 @@ def add_no_break_hyphens(docx_input, docx_output): root = etree.fromstring(xml_data) after_toc = _content_after_toc(root, ns) counter_no_break_hyphens = 0 style_names = ["Normal", "B1", "B2", "B3", "TB1", "TB2", "TB3", "BN"] style_names = ["Normal", "B1", "B2", "B3", "TB1", "TB2", "TB3", "BN", "TAL", "TAC", "TAR", "TAH"] pattern = re.compile(r'((?<=\w)-(?=\w))') # Loop over all paragraphs and replace all normal hyphens by no-break hyphens Loading Loading
generateBaseline/postprocessing.py +1 −1 Changes for generateBaseline/postprocessing.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -3375,7 +3375,7 @@ def add_no_break_hyphens(docx_input, docx_output): root = etree.fromstring(xml_data) after_toc = _content_after_toc(root, ns) counter_no_break_hyphens = 0 style_names = ["Normal", "B1", "B2", "B3", "TB1", "TB2", "TB3", "BN"] style_names = ["Normal", "B1", "B2", "B3", "TB1", "TB2", "TB3", "BN", "TAL", "TAC", "TAR", "TAH"] pattern = re.compile(r'((?<=\w)-(?=\w))') # Loop over all paragraphs and replace all normal hyphens by no-break hyphens Loading