autocomplete: ESCAPE should not change content of a MultiLine

Fixed case where content of contenteditable or textarea was
changed when ESCAPE pressed.

Fixes: #9790