Skip to content

Commit 3856236

Browse files
committed
Fix Unsanitized prefix static tests
1 parent 6344ad2 commit 3856236

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/ui-select.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ define([
291291
return false;
292292
},
293293

294+
/**
295+
* Return empty options html
296+
*/
297+
getEmptyOptionsUnsanitizedHtml: function () {
298+
return this.emptyOptionsHtml;
299+
},
300+
294301
/**
295302
* Check options length and set to cache
296303
* if some options is added

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
</div>
142142
<div ifnot="options().length"
143143
class="admin__action-multiselect-empty-area">
144-
<ul data-bind="text: emptyOptionsHtml"/>
144+
<ul data-bind="html: getEmptyOptionsUnsanitizedHtml"/>
145145
</div>
146146
<!-- /ko -->
147147
<ul class="admin__action-multiselect-menu-inner _root"

0 commit comments

Comments
 (0)