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()

https://success.outsystems.com/Documentation/11/Reference/Errors_and_Warnings/Warnings/HTML_Injection_Warning

Regards,

Daniel