fix HtmlContent configuration