From 2072473acf85471158a225a6ccde13a92d009e98 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sat, 19 Jul 2008 21:11:32 +0200 Subject: [PATCH] texi2html: Anchors have to start with a letter (check for !number-only is wrong) --- lilypond-texi2html.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 768a6dbdac..bddf286bcb 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -142,8 +142,8 @@ sub texinfo_file_name($) $str .= $addstr; } } - # 7: if name begins with number, prepend 't_g' (so it starts with a letter) - if ($str =~ /^[0-9]/) { + # 7: if name does not begin with a letter, prepend 't_g' (so it starts with a letter) + if ($str !~ /^[a-zA-Z]/) { $str = 't_g' . $str; } # DONE -- 2.39.5