Closed (duplicate)
Project:
Drupal core
Version:
6.13
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 09:01 UTC
Updated:
2 Jun 2010 at 00:48 UTC
The optimise CSS performance feature does not allow whitespace in URLs.
The CSS specification allows whitespace to appear between the parenthesis and URL value, e.g. the following are all equivalent:
url("images/pic.png")
url('images/pic.png')
url(images/pic.png)
url( "images/pic.png" )
url( 'images/pic.png' )
url( images/pic.png )
Currently, the drupal_build_css_cache method fails to match URLs containing whitespace which breaks stylesheets with URLs with whitespace. The expected behaviour is for the whitespace to be handled correctly.
The attached patch corrects this behaviour.
| Comment | File | Size | Author |
|---|---|---|---|
| common.inc_.patch | 1.69 KB | Kevin Rogers |
Comments
Comment #1
mikeytown2 commented#258846: CSS aggregation fails to parse some url()'s