Hello,
I ran into this today on Moodle 3.8 and I just reproduced it on qa.moodledemo.org (3.10 dev).
In an essay question with a response template containing a table, the answers were swept and cannot be found in the database.
Looking at HTML source, I got this:
<table style="width: 90%;">
<caption>Réponse:</caption>
<thead>
<tr>
<th scope="col">Justification:<br><br><br></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
I know that the caption tag is somehow unusual, but it probably comes from a copy/paste and causes a very frustrating situation: the table disappears but only after the quiz is submitted and nothing shows up in the database.
Should I open de new issue? I assume there is some cleaning routine that toom away the table.
François
EDIT: It works if I remove the <thead> tags.
EDIT 2: It also works if we add something in the body.