Led to reducing some redundant code in action/continue.php Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)