From 2f58946c25fe1f7aab0f53007ac40b03a5f1c06f Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Mon, 21 Dec 2009 21:41:58 +0000 Subject: [PATCH] makelsr.py: Normalize titles when updating locally. --- scripts/auxiliar/makelsr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index 001106d327..a31468bfd1 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -209,6 +209,7 @@ def update_ly_in_place (snippet_path): texidoc_translation = open (texidoc_path).read () texidoc_translation = texidoc_translation.replace ('\\', '\\\\') contents = begin_header_re.sub ('\\g<0>\n' + texidoc_translation, contents, 1) + contents = doctitle_re.sub (doctitle_sub, contents) open (snippet_path, 'w').write (contents) if in_dir: -- 2.39.2