From: Reinhold Kainhofer Date: Tue, 1 Apr 2008 00:25:31 +0000 (+0200) Subject: texi2html: Fix init file to remove parentheses and backslashes from file names X-Git-Tag: release/2.11.58-1~32^2~173 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d110c3fe372507c111f66b3199b184fcdb4587bd;p=lilypond.git texi2html: Fix init file to remove parentheses and backslashes from file names --- 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: