Skip to content

Commit b104b49

Browse files
committed
fix(@clay-multi-select): Consistant HTMLescape in _addLabelItem
1 parent 1169636 commit b104b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/clay-multi-select/src/ClayMultiSelect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ class ClayMultiSelect extends ClayComponent {
355355
const filteredItem = this.filteredItems
356356
.filter(filteredItem => {
357357
return (
358-
filteredItem.data.label.toLowerCase() ===
358+
htmlEscape(filteredItem.data.label.toLowerCase()) ===
359359
label.toLowerCase()
360360
);
361361
})

0 commit comments

Comments
 (0)