[mms] Can't add charset directly to HTML document or else DOM will alter document when generating HTML.