Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
advu committed Oct 17, 2024
1 parent 1d28841 commit 467ccc3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions client/components/Tests/ReadingTest/ReadingTestFeedbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ const ReadingTestFeedbacks = ({ showFeedbacks, closeFeedbacks }) => {
</div>
)}
<hr />
<div
style={{
whiteSpace: 'pre-line',
<FormattedMessage
id={filteredSlides[current]}
defaultMessage={filteredSlides[current]}
values={{
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
}}
className="feedback"
dangerouslySetInnerHTML={sanitizeHtml(filteredSlides[current])}
/>
</div>
</div>
Expand Down

0 comments on commit 467ccc3

Please sign in to comment.