From: Patrick McCarty Date: Tue, 29 Jun 2010 20:10:07 +0000 (-0700) Subject: texi2html: Use IE stylesheet for the docs only. X-Git-Tag: release/2.13.27-1~54 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dadfab20d74ac8fb1aa40ef607aabe70f77f4323;p=lilypond.git texi2html: Use IE stylesheet for the docs only. --- diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index 96f4cb2d28..e2d8638f27 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -794,10 +794,12 @@ sub lilypond_css_lines ($$) $Texi2HTML::THISDOC{'CSS_LINES'} .= "{FILENAME}\" title=\"$ref->{TITLE}\">\n"; } - # FIXME: the website doesn't use ie7-specific fixes; do the - # docs still need this? -gp - $Texi2HTML::THISDOC{'CSS_LINES'} .= - "\n"; + + # The ie-fixes stylesheet is needed for the docs, but not the website. + if (not ($web_manual)) { + $Texi2HTML::THISDOC{'CSS_LINES'} .= + "\n"; + } if ($ENV{'AJAX_SEARCH'} == 1) { # Add the JavaScript file only if we have an index.