mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(a11y): update PrismFormatted usage for quiz question text (#60799)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
co-authored by
Huyen Nguyen
parent
f3c45444e9
commit
e8e01133fc
@@ -172,9 +172,7 @@ const ShowQuiz = ({
|
||||
question: (
|
||||
<PrismFormatted
|
||||
className='quiz-question-label'
|
||||
text={removeParagraphTags(question.text)}
|
||||
useSpan
|
||||
noAria
|
||||
text={question.text}
|
||||
/>
|
||||
),
|
||||
answers: shuffleArray([...distractors, answer]),
|
||||
|
||||
Reference in New Issue
Block a user