Permalink
Browse files

CssUrlsFilter: keep data URIs

  • Loading branch information...
1 parent fa81255 commit 3e51e81cf4b6d79c7b742ab330f14b8262d80ccb @pt24 pt24 committed May 19, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 WebLoader/Filter/CssUrlsFilter.php
@@ -98,6 +98,7 @@ public function __invoke($code, \WebLoader\Compiler $loader, $file = null)
url\( ## url(
\s* ## optional whitespace
([\'"])? ## optional single/double quote
+ (?!data:) ## keep data URIs
( (?: (?:\\\\.)+ ## escape sequences
| [^\'"\\\\,()\s]+ ## safe characters
| (?(1) (?!\1)[\'"\\\\,() \t] ## allowed special characters

0 comments on commit 3e51e81

Please sign in to comment.