]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: Next attempt at correctly identifying a css link in the .html pages
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 30 Sep 2008 23:16:27 +0000 (01:16 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 30 Sep 2008 23:16:27 +0000 (01:16 +0200)
buildscripts/postprocess_html.py

index ebea89c01b6ba72b4a3902107157616d7e911a45..63416e4b713ce6023e36cc7cce6a5cf8f5c0b21a 100644 (file)
@@ -123,7 +123,7 @@ body_tag_re = re.compile ('(?i)<body([^>]*)>')
 html_tag_re = re.compile ('(?i)<html>')
 doctype_re = re.compile ('(?i)<!DOCTYPE')
 doctype = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n'
-css_re = re.compile ('(?i)<link rel="stylesheet" type="text/css" ([^>]*)href="[^">]*?lilypond.css"([^>]*)>')
+css_re = re.compile ('(?i)<link rel="stylesheet" type="text/css" ([^>]*)href="[^">]*?lilypond.*\.css"([^>]*)>')
 end_head_tag_re = re.compile ('(?i)</head>')
 css_link = '<link rel="stylesheet" type="text/css" href="%sDocumentation/lilypond.css">\n'