MDL-20636 Merge branch 'master' into qe2_wip
[moodle.git] / question / type / numerical / question.php
index 7eba5a7..1e57595 100644 (file)
@@ -45,7 +45,7 @@ class qtype_numerical_question extends question_graded_by_strategy
     }
 
     public function get_expected_data() {
-        return array('answer' => PARAM_TRIM);
+        return array('answer' => PARAM_RAW_TRIMMED);
     }
 
     public function init_first_step(question_attempt_step $step) {