Skip to content

Commit 9c021f4

Browse files
committed
AC-1942: HTML tags is not nested/closed properly
- Fixed html tags
1 parent cff8851 commit 9c021f4

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dt class="label"><!-- ko text: option.label --><!-- /ko --></dt>
4343
<dd class="values">
4444
<!-- ko if: Array.isArray(option.value) -->
45-
<span data-bind="html: $parents[1].getOptionValueUnsanitizedHtml(option.value.join('<br/>'))"></span>
45+
<span data-bind="html: $parents[1].getOptionValueUnsanitizedHtml(option.value.join('<br>'))"></span>
4646
<!-- /ko -->
4747
<!-- ko if: (!Array.isArray(option.value) && ['file', 'html'].includes(option.option_type)) -->
4848
<span data-bind="html: $parents[1].getOptionValueUnsanitizedHtml(option.value)"></span>
@@ -83,7 +83,7 @@
8383
type="number"
8484
size="4"
8585
class="item-qty cart-item-qty"/>
86-
<button data-bind="attr: {
86+
<button data-bind="attr: {
8787
id: 'update-cart-item-'+item_id,
8888
'data-cart-item': item_id,
8989
title: $t('Update')

0 commit comments

Comments
 (0)