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:
Ashish Jhajharia
2025-06-10 13:57:08 -04:00
committed by GitHub
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]),