wsp-10319 User notes do not render html code
This commit is contained in:
parent
3c97421fee
commit
50e61dbfdf
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ namespace WebsitePanel.Portal
|
|||
|
||||
public string WrapComment(string text)
|
||||
{
|
||||
return (text != null) ? PortalAntiXSS.EncodeOld(text.Replace("\n", "<br/>")) : text;
|
||||
return (text != null) ? Server.HtmlEncode(text).Replace("\n", "<br/>") : text;
|
||||
}
|
||||
|
||||
protected void gvComments_RowDeleting(object sender, GridViewDeleteEventArgs e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue