Skip to content

Commit

Permalink
fix: HTML characters not escaped
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien Gatellier committed Dec 3, 2023
1 parent cf9f1ee commit 860756a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/widgets/result-appreciation.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
</div>
<h2 data-int="grade_title"></h2>
<p class="font-size:1">
{{ i18n "ResultScore" }} <span><span data-int="score">0</span> / 100</span>
{{ i18n "ResultScore" | safeHTML }} <span><span data-int="score">0</span> / 100</span>
</p>
<hr class="small" />
<div class="info-collapse">
{{ $label := i18n "ResultScoreExplainationLabel" }}
{{ $content := i18n "ResultScoreExplainationContent" }}
{{ $knowMore := i18n "ResultScoreExplainationKnowMore" }}
{{ $knowMore := i18n "ResultScoreExplainationKnowMore" | safeHTML }}
{{ $moreHref := i18n "HowDoesItWorksURL" }}
{{ $moreLabel := i18n "HowDoesItWorksTitle" }}

Expand Down

0 comments on commit 860756a

Please sign in to comment.