Permalink
Browse files

Merge pull request #69 from pt24/master

CssUrlsFilter: keep data URIs
  • Loading branch information...
2 parents fa81255 + 3e51e81 commit 8112de43da0e4049ebe7f03248e259ab79e44424 @janmarek committed May 20, 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 8112de4

Please sign in to comment.