From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Tue, 30 Sep 2008 23:16:27 +0000 (+0200) Subject: Docs: Next attempt at correctly identifying a css link in the .html pages X-Git-Tag: release/2.11.61-1~3^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=076c460e8eeb73b1e19921fe0b436c63b452c7d3;p=lilypond.git Docs: Next attempt at correctly identifying a css link in the .html pages --- diff --git a/buildscripts/postprocess_html.py b/buildscripts/postprocess_html.py index ebea89c01b..63416e4b71 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'