fixes mime type quotes colliding with html attributes