-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: data-url should be treated as absolute #56
Comments
I'm not really sure I understand the issue. |
I have updated the description, is it now more clear? 🐇 |
Now it's clear :) |
There some edge cases where CssUrlsFilter is not working properly. We will create better test case and try to solve these issues before releasing new stable version. |
Spíše bych řekl if (preg_match("/^(data:|([a-z]+:\/)?\/)/", $url)) return $url; |
@martinknor : IMHO, není třeba přidávat závorky, vzhledem k tomu že nás zajímá jenom jestli se regulár matchne nebo nikoliv. |
Asi by to chtělo spíš testy, abychom měli jistotu :) |
The
CssUrlsFilter
breaks the value of the CSS Data URL by adding for example/cache/
prefix to them so u get something like this in your processed stylesheet:That condition should be changed to something like this (which actualy works for me)
The text was updated successfully, but these errors were encountered: