easy fix: replace all html_to_text with strip_tags
see http://moodle.org/mod/forum/discuss.php?d=191504