[FIX] do not absolutify data uri when merging css files
bzr revid: chs@openerp.com-20120716142918-813sn1z197ily3un
This commit is contained in:
parent
1fd92244d2
commit
9f34b1ebaf
|
@ -258,8 +258,7 @@ class WebClient(openerpweb.Controller):
|
|||
file_map = dict(files)
|
||||
|
||||
rx_import = re.compile(r"""@import\s+('|")(?!'|"|/|https?://)""", re.U)
|
||||
rx_url = re.compile(r"""url\s*\(\s*('|"|)(?!'|"|/|https?://)""", re.U)
|
||||
|
||||
rx_url = re.compile(r"""url\s*\(\s*('|"|)(?!'|"|/|https?://|data:)""", re.U)
|
||||
|
||||
def reader(f):
|
||||
"""read the a css file and absolutify all relative uris"""
|
||||
|
|
Loading…
Reference in New Issue