- Create a course
- Create a quiz inside that course
- Create a question of type "Embedded answers (cloze)"
- As question content, enter the example provided in Moodle official documentation (https://docs.moodle.org/31/en/Embedded_Answers_(Cloze)_question_type)
- Under /admin/filters.php, make sure "HTML tidy" filter is "Off"
- Start an attempt of the quiz
- The embedded answers textfields are rendered properly (see screenshot)
- Under /admin/filters.php, turn on "HTML tidy" filter
- Verify PHP is built with "tidy" extension
- Resume the quiz attempt
- Some embedded answers textfields are not rendered (i.e. the qtypemultianswerNmarker are not replaced).