Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
advu committed Oct 17, 2024
1 parent 76b2f87 commit 6bc0c9e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ const ReadingTestElicationDialog = ({ question, showElication, submitElication }
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
}}
ul: (chunks) => <ul>{chunks}</ul>,
li: (chunks) => <li>{chunks}</li>
}}
/>
</h3>
</div>
Expand Down
14 changes: 9 additions & 5 deletions client/components/Tests/ReadingTest/ReadingTestFeedbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ const ReadingTestFeedbacks = ({ showFeedbacks, closeFeedbacks }) => {
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
}}
ul: (chunks) => <ul>{chunks}</ul>,
li: (chunks) => <li>{chunks}</li>
}}
/>
</div>
)}
Expand All @@ -111,10 +113,12 @@ const ReadingTestFeedbacks = ({ showFeedbacks, closeFeedbacks }) => {
id={filteredSlides[current]}
defaultMessage={filteredSlides[current]}
values={{
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
}}
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
ul: (chunks) => <ul>{chunks}</ul>,
li: (chunks) => <li>{chunks}</li>
}}
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ const ReadingTestNextSetDialog = ({ showNextSetDialog, confirmNextSet }) => {
b: (chunks) => <b>{chunks}</b>,
i: (chunks) => <i>{chunks}</i>,
br: () => <br />,
}} />
ul: (chunks) => <ul>{chunks}</ul>,
li: (chunks) => <li>{chunks}</li>
}}
/>
</h4>
<button
type="confirm"
Expand Down

0 comments on commit 6bc0c9e

Please sign in to comment.