The "Table of contents" button is displaying wrong the questions list when the question text includes any html table. I've attached an image to show this. The steps to reproduce this issue:
1. Create an assessment with several questions one of which has any html table. The assessment has the option "Random access to questions" selected.
2. Preview the assessment and take it.
3. If you click on the "Table of contents" button, the questions list is being displayed wrong as you can see on the screenshot attached to this Jira.
We have a patch to solve it in trunk(attached to this Jira).