From: tjhunt Date: Tue, 17 Oct 2006 22:17:17 +0000 (+0000) Subject: MDL-6848 - Display problem with < > characters in shortanswer when outputting the... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9a8b42c981081005932bc4ecbb3d945fac59b030;p=moodle.git MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE. --- diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php index 33e15d670f..c8c42bd8ad 100644 --- a/lang/en_utf8/quiz.php +++ b/lang/en_utf8/quiz.php @@ -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'; diff --git a/question/type/shortanswer/display.html b/question/type/shortanswer/display.html index 71c758f33a..ab9f6a3266 100644 --- a/question/type/shortanswer/display.html +++ b/question/type/shortanswer/display.html @@ -24,6 +24,6 @@
- +