Tag needs escaping. Wrongly call showSuggestions.

close #2087, fix #2089
- escape tag.
- do not call showSuggestions when key is UP/DOWN. or the selected tag will
  always be clear.