remove the last bits of HTML specific from autocompleter*