From b0266b9526779810bce675fb55b78287bb01955b Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 4 Jan 2011 19:51:17 +0000 Subject: html_inline.py: update comments to match reality, fix a small typo Though the comments say it doesn't inline CSS, it actually does; I also noticed there's a typo in the CSS-inlining regex. Review URL: http://codereview.chromium.org/6057007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70429 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/grit/grit/format/html_inline.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/grit/grit/format/html_inline.py b/tools/grit/grit/format/html_inline.py index 71d0f68..9979bca 100755 --- a/tools/grit/grit/format/html_inline.py +++ b/tools/grit/grit/format/html_inline.py @@ -9,8 +9,7 @@ This is a small script that takes a HTML file, looks for src attributes and inlines the specified file, producing one HTML file with no external dependencies. -This does not inline CSS styles, nor does it inline anything referenced -from an inlined file. +This does not inline anything referenced from an inlined file. """ import os @@ -173,7 +172,7 @@ def InlineFile(input_filename, output_filename, grd_node): ReadFile(input_filename)) flat_text = re.sub( - '', + '', InlineCSSFile, flat_text) -- cgit v1.1