From c1ed7bf7d2e70bab9fe7f4c93139ba3a47985a18 Mon Sep 17 00:00:00 2001 From: "arv@chromium.org" Date: Fri, 10 Apr 2009 23:51:56 +0000 Subject: This adds link[rel=icon] elements to the DOM UI html files for downloads and history. It also adds code to inline the resources for elements BUG=9805 Review URL: http://codereview.chromium.org/66041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13550 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/grit/grit/format/html_inline.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tools/grit') diff --git a/tools/grit/grit/format/html_inline.py b/tools/grit/grit/format/html_inline.py index cf8effe..9871fbd 100755 --- a/tools/grit/grit/format/html_inline.py +++ b/tools/grit/grit/format/html_inline.py @@ -98,8 +98,12 @@ def InlineFile(input_filename, output_filename): # TODO(glen): Make this regex not match url('') that is not inside a style flat_text = re.sub('background:[ ]*url\(\'(?P[^"\']*)\'', - SrcReplace, - flat_text) + SrcReplace, + flat_text) + + flat_text = re.sub('