-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
1.6
-
None
-
All
-
MOODLE_16_STABLE
HTML entity non-breaking space crashes multianswer question. Diagnostic:
in file questiontypemultianswerquestiontype.php, towards the end, function multianswer_escape($text)
If the text of a multianswer question contains a non-breaking space entity & nbsp;, it causes a problem when going through line: $text = html_entity_decode($text); -> All the text that follows the & nbsp; entity is deleted from the multianswer question.
If this line is removed, everything is OK.
What is the use of html_entity_decode($text) anyway???
Joseph
- duplicates
-
MDL-6462 Cloze (multianswer) question special character issues
-
- Closed
-