Switched content type to text/html to avoid potential xhtml invalidity issues.