From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Tue, 30 Sep 2008 22:47:15 +0000 (+0200)
Subject: Docs: Fix detection of a css link in the html page
X-Git-Tag: release/2.11.61-1~8
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ae7776baa676b42ced7e63b674356e23d681e008;p=lilypond.git

Docs: Fix detection of a css link in the html page
---

diff --git a/buildscripts/postprocess_html.py b/buildscripts/postprocess_html.py
index 89d8875360..ebea89c01b 100644
--- a/buildscripts/postprocess_html.py
+++ b/buildscripts/postprocess_html.py
@@ -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'