Skip to content

Commit

Permalink
MC-34469: Gift card html entities on minicart
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-shcherbatykh committed Aug 7, 2020
1 parent d598c12 commit 024625e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
<!-- ko if: Array.isArray(option.value) -->
<span data-bind="html: option.value.join('<br>')"></span>
<!-- /ko -->
<!-- ko if: (!Array.isArray(option.value) && option.option_type == 'file') -->
<!-- ko if: (!Array.isArray(option.value) && ['file', 'html'].includes(option.option_type)) -->
<span data-bind="html: option.value"></span>
<!-- /ko -->
<!-- ko if: (!Array.isArray(option.value) && option.option_type != 'file') -->
<span data-bind="text: option.value"></span>
<!-- ko if: (!Array.isArray(option.value) && !['file', 'html'].includes(option.option_type)) -->
<span data-bind="text: option.value"></span>
<!-- /ko -->
</dd>
<!-- /ko -->
Expand Down

0 comments on commit 024625e

Please sign in to comment.