using HtmlEncode for titles and settings