Added support for content type text/html
Formatting