dwightjack / grunt-premailer

Grunt wrapper task for Premailer
MIT License
114 stars 16 forks source link

base64 url gets space #15

Closed Spica2 closed 8 years ago

Spica2 commented 10 years ago

Thats strange and was a pain to find. With base64 url background in your css like this

url(data:image/png;base64,iVBOR...

the output/inline gets a additional space after 'png;' , which causes the image not get rendered in some cases

url(data:image/png; base64,iVBOR...
dwightjack commented 10 years ago

I think this is an issue of Premailer itself.

I may suggest opening a ticket on their tracker.

dwightjack commented 10 years ago

Hi just as a follow up. Did you received any hint on this from the premailer team?

Spica2 commented 10 years ago

no. https://github.com/premailer/premailer/issues/204 just did a regex.