This may be an old point, but HTML Tidy is a filter, not a course setting (at least in 2.6). If you go under Course Administration and turn off HTML Tidy, it seemed to clear up my problem.
Quiz
Using Cloze questions in tables
This discussion has been locked so you can no longer reply to it.