We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a76a6 commit 338e271Copy full SHA for 338e271
app/code/Magento/Review/view/frontend/templates/helper/summary.phtml
@@ -20,7 +20,7 @@ $urlForm = $block->getReviewsUrl() . '#review-form';
20
<div class="rating-summary">
21
<span class="label"><span><?= $block->escapeHtml(__('Rating')) ?>:</span></span>
22
<div class="rating-result"
23
- id="rating-result_<?= /* @noEscape */ $block->getProduct()->getId() ?>"
+ id="rating-result_<?= $block->escapeHtmlAttr($block->getProduct()->getId()) ?>"
24
title="<?= $block->escapeHtmlAttr($rating) ?>%"
25
>
26
<span>
0 commit comments