File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
app/code/Magento/Review/view/frontend/templates/helper Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,14 @@ $urlForm = $block->getReviewsUrl() . '#review-form';
20
20
<div class="rating-summary">
21
21
<span class="label"><span><?= $ block ->escapeHtml (__ ('Rating ' )) ?> :</span></span>
22
22
<div class="rating-result" title="<?= $ block ->escapeHtmlAttr ($ rating ); ?> %">
23
- <span>
23
+ <span style="width: <?= $ block -> escapeHtmlAttr ( $ rating ); ?> %" >
24
24
<span>
25
25
<span itemprop="ratingValue"><?= $ block ->escapeHtml ($ rating ); ?>
26
26
</span>% of <span itemprop="bestRating">100</span>
27
27
</span>
28
28
</span>
29
29
</div>
30
30
</div>
31
- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag (
32
- "width: " . $ block ->escapeHtmlAttr ($ rating ) . "% " ,
33
- 'div.rating-summary div.rating-result>span:first-child '
34
- ) ?>
35
31
<?php endif ;?>
36
32
<div class="reviews-actions">
37
33
<a class="action view"
You can’t perform that action at this time.
0 commit comments