HTML escape
Convert HTML-sensitive characters to entities for displaying literal markup.
How to use HTML escape
Display a literal markup fragment in HTML text. Angle brackets, ampersands and quotes become entities. Escaping a fragment again also escapes the ampersands in existing entities.
Worked example
Input
<p>Hello</p>
Output
<p>Hello</p>