How can we overcome html security warning

I am showing html content on expression. If i used EncodeHTML() it is removing security related warning but contents shown in proper html tags.

How can we overcome security warning and content show in proper html effect.

Hi Pradip,

Did you change the value of Escape Content property of the expression?

Also instead of EncodeHtml() you could try SanitizeHtml()