Changed use of htmlspecialchars() to s().

This commit is contained in:
mindforge
2005-09-09 16:47:33 +00:00
parent 6549d34a38
commit c99e2d2c66
@@ -124,7 +124,7 @@ class quiz_shortanswer_qtype extends quiz_default_questiontype {
$stranswer = get_string("answer", "quiz");
if (isset($state->responses[''])) {
$value = ' value="'.htmlSpecialChars($state->responses['']).'" ';
$value = ' value="'.s($state->responses['']).'" ';
} else {
$value = ' value="" ';
}