remove asset host and render stylesheets inline for pdf generation