diff --git a/js/id/ui/entity_editor.js b/js/id/ui/entity_editor.js index 77957cd9b..f3b7aa3f5 100644 --- a/js/id/ui/entity_editor.js +++ b/js/id/ui/entity_editor.js @@ -184,8 +184,11 @@ iD.ui.EntityEditor = function(context) { function changeTags(changed, onInput) { var entity = context.entity(id), annotation = t('operations.change_tags.annotation'), - tags = clean(_.extend({}, entity.tags, changed)); + tags = _.extend({}, entity.tags, changed); + if (!onInput) { + tags = clean(tags); + } if (!_.isEqual(entity.tags, tags)) { if (coalesceChanges) { context.overwrite(iD.actions.ChangeTags(id, tags), annotation);