Merge pull request #4051 from dpalou/MOBILE-4589

MOBILE-4589 qtype_match: Decode HTML of options
main
Noel De Martin 2024-05-16 11:41:33 +02:00 committed by GitHub
commit 043577ba34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ export class CoreQuestionBaseComponent<T extends AddonModQuizQuestion = AddonMod
const option: AddonModQuizQuestionSelectOption = {
value: optionEl.value,
label: optionEl.innerHTML,
label: CoreTextUtils.decodeHTML(optionEl.innerHTML),
selected: optionEl.selected,
};