Skip to content

Commit 024625e

Browse files
MC-34469: Gift card html entities on minicart
1 parent d598c12 commit 024625e

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/minicart/item

1 file changed

+3
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/template/minicart/item/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
<!-- ko if: Array.isArray(option.value) -->
4545
<span data-bind="html: option.value.join('<br>')"></span>
4646
<!-- /ko -->
47-
<!-- ko if: (!Array.isArray(option.value) && option.option_type == 'file') -->
47+
<!-- ko if: (!Array.isArray(option.value) && ['file', 'html'].includes(option.option_type)) -->
4848
<span data-bind="html: option.value"></span>
4949
<!-- /ko -->
50-
<!-- ko if: (!Array.isArray(option.value) && option.option_type != 'file') -->
51-
<span data-bind="text: option.value"></span>
50+
<!-- ko if: (!Array.isArray(option.value) && !['file', 'html'].includes(option.option_type)) -->
51+
<span data-bind="text: option.value"></span>
5252
<!-- /ko -->
5353
</dd>
5454
<!-- /ko -->

0 commit comments

Comments
 (0)