Skip to content

Commit c7ba189

Browse files
authored
Merge pull request #26 from magento-lynx/MC-41904
MC-41904 Fix HTML tags not properly nested/closed
2 parents f870442 + c1a52e0 commit c7ba189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Backend/view/adminhtml/templates/dashboard/chart.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $viewModel = $block->getViewModel();
1919
?>
2020
<div class="dashboard-diagram">
2121
<div class="dashboard-diagram-graph">
22-
<canvas id="chart_<?= $escaper->escapeHtmlAttr($block->getData('html_id')) ?>_period"/>
22+
<canvas id="chart_<?= $escaper->escapeHtmlAttr($block->getData('html_id')) ?>_period"></canvas>
2323
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag(
2424
'display:none',
2525
'#chart_' . $escaper->escapeJs($block->getData('html_id')) . '_period'

app/code/Magento/Msrp/view/frontend/templates/render/item/price_msrp_item.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<?php endif; ?>
3535
<?php if ($_catalogHelper->isShowPriceOnGesture($_product)): ?>
3636
<?php $priceElementId = 'product-price-' . $_id . $block->getIdSuffix(); ?>
37-
<span id="<?= /* @noEscape */ $priceElementId ?>"/>
37+
<span id="<?= /* @noEscape */ $priceElementId ?>"></span>
3838
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag("display: none", '#'. $priceElementId) ?>
3939

4040
<?php $popupId = 'msrp-popup-' . $_id . $block->getRandomString(20); ?>

0 commit comments

Comments
 (0)