Skip to content

Commit

Permalink
Update rating.php
Browse files Browse the repository at this point in the history
Replace tabs by spaces
  • Loading branch information
conseilgouz committed Mar 1, 2024
1 parent f7b294f commit 2f594e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/vote/tmpl/rating.php
Expand Up @@ -79,7 +79,7 @@
?>
<div class="content_rating" role="img" aria-label="<?php echo Text::sprintf('PLG_VOTE_STAR_RATING', $rating); ?>">
<?php if ($rcount) : ?>
<div class="visually-hidden" itemscope="itemscope" itemtype="https://schema.org/Product">
<div class="visually-hidden" itemscope="itemscope" itemtype="https://schema.org/Product">
<span itemprop="name"><?php echo $row->title;?></span>
<p class="visually-hidden" itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
<?php echo Text::sprintf('PLG_VOTE_USER_RATING', '<span itemprop="ratingValue">' . $rating . '</span>', '<span itemprop="bestRating">5</span>'); ?>
Expand Down

0 comments on commit 2f594e4

Please sign in to comment.