Open crdumoul opened 12 years ago
Even better than ignoring the data URI would be to decode it and still transform the data.
Any thought on this?
There is a test for data URI's. What's not working? https://github.com/keithclark/selectivizr/blob/master/tests/master/index.html#L132-L135
Oh, my bad -- I didn't see DataURI's in the feature list. Rock on!
David Walsh
http://davidwalsh.name http://twitter.com/davidwalshblog http://github.com/darkwing
On Tue, Jan 7, 2014 at 6:29 PM, Keith Clark notifications@github.comwrote:
There is a test for data URI's. What's not working? https://github.com/keithclark/selectivizr/blob/master/tests/master/index.html#L132-L135
— Reply to this email directly or view it on GitHubhttps://github.com/keithclark/selectivizr/issues/26#issuecomment-31795027 .
Stylesheets that are included as a data URI should be ignored. Currently, selectivizr thinks the data URI is an external link and tries to download the content.
An example of a simple stylesheet data URI is: