From: Reinhold Kainhofer Date: Mon, 4 Aug 2008 17:57:08 +0000 (+0200) Subject: texi2html: Remove trailing whitespaces from node names X-Git-Tag: release/2.11.58-1~32^2~94 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ef5d243dad7db923bfad6aca08273b79ecd3a68c;p=lilypond.git texi2html: Remove trailing whitespaces from node names --- 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'