Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CssUrlsFilter: keep data URIs

  • Loading branch information...
commit 3e51e81cf4b6d79c7b742ab330f14b8262d80ccb 1 parent fa81255
@pt24 pt24 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  WebLoader/Filter/CssUrlsFilter.php
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.