Skip to content
This repository
Browse code

Merge pull request #69 from pt24/master

CssUrlsFilter: keep data URIs
  • Loading branch information...
commit 8112de43da0e4049ebe7f03248e259ab79e44424 2 parents fa81255 + 3e51e81
Jan Marek authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  WebLoader/Filter/CssUrlsFilter.php
1  WebLoader/Filter/CssUrlsFilter.php
@@ -98,6 +98,7 @@ public function __invoke($code, \WebLoader\Compiler $loader, $file = null)
98 98 url\( ## url(
99 99 \s* ## optional whitespace
100 100 ([\'"])? ## optional single/double quote
  101 + (?!data:) ## keep data URIs
101 102 ( (?: (?:\\\\.)+ ## escape sequences
102 103 | [^\'"\\\\,()\s]+ ## safe characters
103 104 | (?(1) (?!\1)[\'"\\\\,() \t] ## allowed special characters

0 comments on commit 8112de4

Please sign in to comment.
Something went wrong with that request. Please try again.