Make tag autocompletion work if closing angular bracket is already
inserted