Renamed sanitize to Tools.escapeHTML