About the HTML Entity Encoder
Make text safe to show inside HTML by converting special characters to entities such as < and &.
Escape <, >, &, quotes and optionally all non-ASCII characters as HTML entities.
Make text safe to show inside HTML by converting special characters to entities such as &lt; and &amp;.