]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi2html: Fix footnotes with index entries (bad hack, due to texi2html feature)
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 24 Aug 2008 15:30:18 +0000 (17:30 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 24 Aug 2008 15:30:18 +0000 (17:30 +0200)
lilypond-texi2html.init

index 08af1b05b0e60060ee9abfaf16b53f86083af78d..1d28c76cc55e02bfe54a51b046caadb93525af23 100644 (file)
@@ -886,7 +886,7 @@ sub lilypond_foot_line_and_ref($$$$$$$)
     # from <p>...</p>. This means that we have to modify this string and
     # insert the FN number manually. The default (nr) on a separate line before
     # the FN text is just plain ugly:
-    $lines->[0] =~ s/^<p>/<p>$tmptxt /;
+    $lines->[0] =~ s/<p>/<p>$tmptxt /;
     # this is a bit obscure, this allows to add an anchor only if formatted
     # as part of the document.
     $place_id = '' if ($state->{'outside_document'} or $state->{'multiple_pass'});