Skip to content
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

Breaking base64 images in CSS #51

Open
Blum opened this issue Oct 3, 2019 · 2 comments
Open

Breaking base64 images in CSS #51

Blum opened this issue Oct 3, 2019 · 2 comments

Comments

@Blum
Copy link

Blum commented Oct 3, 2019

Hello, first I want to say that I love this lib, it is simple, pragmatic, and does the job exactly as I want. Thank you!

But it appears that it breaks base64 encoded images, for example I have:
background-image: url("data:image/png;base64,iVBORw0KG...
which is transformed to
background-image:url("/css/data:image/png;base64,iVBOR...
which, as you guess, is not valid.

Can you help me with this?

Thanks

@koemanpatrick
Copy link

i can confirm this is not just with base64 images but also with normal background-images

when i put the row below in my css
background-image: url("/images/test.jpg");
the result is
background-image: url("/css//images/test.jpg");

@Blum
Copy link
Author

Blum commented Oct 4, 2019

So, what about this.. #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants