Replace special HTML characters (&, <, >, quotes) with their entity equivalents. Prevents XSS when displaying user input.
Example
<p>Hello</p> → <p>Hello</p>
"A & B" → "A & B"
it's → it's
Replace special HTML characters (&, <, >, quotes) with their entity equivalents. Prevents XSS when displaying user input.
<p>Hello</p> → <p>Hello</p>
"A & B" → "A & B"
it's → it's