In PHP, the htmlspecialchars function converts potentially unsafe HTML to safe HTML.
TO DO: official website