MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE.

This commit is contained in:
tjhunt
2006-10-17 22:17:05 +00:00
parent 269a213980
commit 6dfa18dff6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -97,6 +97,7 @@ $string['copyingfrom'] = 'Creating a copy of the question \'$a\'';
$string['copyingquestion'] = 'Copying a question';
$string['correct'] = 'Correct';
$string['correctanswer'] = 'Correct answer';
$string['correctansweris'] = 'Correct answer: $a';
$string['correctanswerformula'] = 'Correct Answer Formula';
$string['correctanswerlength'] = 'Significant Figures';
$string['correctanswers'] = 'Correct answers';
+1 -1
View File
@@ -24,6 +24,6 @@
<?php if ($correctanswer) { ?>
<div class="correctness correct">
<?php echo get_string('correctanswer', 'quiz').': '. $correctanswer; ?>
<?php print_string('correctansweris', 'quiz', s($correctanswer)); ?>
</div>
<?php } ?>