HTML Escaping Guide: htmlspecialchars, he, and DOMPurify Compared