From: Reinhold Kainhofer Date: Tue, 30 Sep 2008 16:29:34 +0000 (+0200) Subject: Docs: Turn default css into prefered (rather than persistent) CSS by adding title X-Git-Tag: release/2.11.61-1~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f00e54157c3cd9e04f9b9100641a766fb036b56e;p=lilypond.git Docs: Turn default css into prefered (rather than persistent) CSS by adding title --- diff --git a/buildscripts/postprocess_html.py b/buildscripts/postprocess_html.py index 916249886f..89d8875360 100644 --- a/buildscripts/postprocess_html.py +++ b/buildscripts/postprocess_html.py @@ -123,7 +123,7 @@ body_tag_re = re.compile ('(?i)]*)>') html_tag_re = re.compile ('(?i)') doctype_re = re.compile ('(?i)\n' -css_re = re.compile ('(?i)]*?lilypond.css">') +css_re = re.compile ('(?i)]*?lilypond.css"([^>]*)>') end_head_tag_re = re.compile ('(?i)') css_link = '\n' diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 026d55dfb5..f05ee37a48 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -246,11 +246,11 @@ sub lilypond_css_lines ($$) } foreach my $ref (@CSS_REFS) { - $Texi2HTML::THISDOC{'CSS_LINES'} .= "\n"; + $Texi2HTML::THISDOC{'CSS_LINES'} .= "\n"; } foreach my $ref (@ALT_CSS_REFS) { - $Texi2HTML::THISDOC{'CSS_LINES'} .= "{TITLE}\" href=\"$ref->{FILENAME}\">\n"; + $Texi2HTML::THISDOC{'CSS_LINES'} .= "{FILENAME}\" title=\"$ref->{TITLE}\">\n"; } $Texi2HTML::THISDOC{'CSS_LINES'} .= "\n"; }