I added you as a watcher because I need some advise on this bug.
If one adds a Short Answer Question in the Lesson module and one of the answers is "i < total", then when the user answers the question, his/her answer gets cleaned to "i <total>".
The line of code that changes this is the following (line 91 in mod/lesson/action/continue.php):
$useranswer = stripslashes(clean_param($useranswer, PARAM_CLEAN));
I cannot find a different way to clean the users answer that does not change i < total to i <total>
I tried to find how this is accomplished with quiz and it appears that no cleaning is used (from what I can tell). Please advise on how this should be handled.