change function HtmlEncode