Added html encoding to RawHtmlContent submission