Adds html_encode where necessary in learning events on the student side. Refs #110