From 732c16a0cae48250adb8c3b3d7c7f46de5ba9bb2 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 4 Jan 2010 09:11:07 +0000 Subject: [PATCH] Web build: fix color classes. --- Documentation/lilypond-texi2html.init | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index e3b09ab..55186a9 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -957,10 +957,11 @@ sub generate_ly_toc_entries($$$$) 'manuals' => [1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4], 'community' => [1, 1, 1, 2, 2, 2, 3, 3], ); - my $addColor = " colorDefault"; + my $addColor = "class = \""; + $addColor = $addColor . "\" colorDefault"; while (($top_section, $color_indices) = each %color_maps) { if (index ($element->{'sectionup'}->{'file'}, $top_section) >= 0) { - $addColor = " color" . $color_indices->[$child_count]; + $addColor = $addColor . " color" . $color_indices->[$child_count]; } } $this_css_class .= $addColor . "\""; -- 1.6.0.4