Handle data-uri, copycss and stylesdir