Fixed \r, and possible HACK fix for https://github.com/ETHZLET/moodle-qtype_matrix/issues/3