From d110c3fe372507c111f66b3199b184fcdb4587bd Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Tue, 1 Apr 2008 02:25:31 +0200 Subject: [PATCH] texi2html: Fix init file to remove parentheses and backslashes from file names --- lilypond-texi2html.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 005f71223f..51bef9a238 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -48,7 +48,8 @@ sub split_at_numbered_sections($$$) if ($$element{translationof}) { $anchor = main::remove_texi($$element{translationof}); } - $anchor =~ tr/\ ?:'/-/d; + # FIXME: Use the same file name normalization as makeinfo does!!! + $anchor =~ tr/\ ?:'\\\(\)/-/d; $$element{id} = $anchor; # Numbered sections will get a filename Section_1.1.2, unnumbered sections will use # the file name of the previous numbered section: -- 2.39.5