src/Valkyrja/Debug/ExceptionHandler.php
protected function escapeHtml(string $str): string
    {
        return htmlspecialchars(
            $str,
            ENT_QUOTES | ENT_SUBSTITUTE,
            $this->charset
        );
    }
protected function escapeHtml(string $str): string
    {
        return htmlspecialchars(
            $str,
            ENT_QUOTES | ENT_SUBSTITUTE,
            $this->charset
        );
    }
Escape HTML.

@param string $str

@return string