diff --git a/ui/actions/nuxeo-add-to-collection-button.js b/ui/actions/nuxeo-add-to-collection-button.js index ce48e6d5e..072f1cb17 100644 --- a/ui/actions/nuxeo-add-to-collection-button.js +++ b/ui/actions/nuxeo-add-to-collection-button.js @@ -255,7 +255,7 @@ import '../nuxeo-button-styles.js'; } _newEntryFormatter(term) { - return { id: -1, displayLabel: term }; + return { id: -1, displayLabel: escapeHTML(term) }; } _isValid() {