From ef5d243dad7db923bfad6aca08273b79ecd3a68c Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Mon, 4 Aug 2008 19:57:08 +0200 Subject: [PATCH] texi2html: Remove trailing whitespaces from node names --- buildscripts/extract_texi_filenames.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/extract_texi_filenames.py b/buildscripts/extract_texi_filenames.py index f074436e05..e93dc2317d 100755 --- a/buildscripts/extract_texi_filenames.py +++ b/buildscripts/extract_texi_filenames.py @@ -37,7 +37,7 @@ for x in optlist: include_re = re.compile (r'@include ((?!../lily-).*?)\.texi$', re.M) whitespaces = re.compile (r'\s+') -section_translation_re = re.compile (r'@(node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading|translationof) (.*?)\n') +section_translation_re = re.compile (r'@(node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading|translationof) (.*?)\s*\n') def expand_includes (m, filename): filepath = os.path.join (os.path.dirname (filename), m.group(1)) + '.texi' -- 2.39.5