Fixed character escaping in autocomplete menu