| Index: tools/grit/grit/format/html_inline.py
|
| ===================================================================
|
| --- tools/grit/grit/format/html_inline.py (revision 13287)
|
| +++ tools/grit/grit/format/html_inline.py (working copy)
|
| @@ -98,9 +98,13 @@
|
|
|
| # TODO(glen): Make this regex not match url('') that is not inside a style
|
| flat_text = re.sub('background:[ ]*url\(\'(?P<filename>[^"\']*)\'',
|
| - SrcReplace,
|
| - flat_text)
|
| + SrcReplace,
|
| + flat_text)
|
|
|
| + flat_text = re.sub('<link rel="icon".+?href="(?P<filename>[^"\']*)"',
|
| + SrcReplace,
|
| + flat_text)
|
| +
|
| out_file = open(output_filename, 'wb')
|
| out_file.writelines(flat_text)
|
| out_file.close()
|
| @@ -114,4 +118,3 @@
|
|
|
| if __name__ == '__main__':
|
| main()
|
| -
|
|
|