From 9a8b42c981081005932bc4ecbb3d945fac59b030 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 17 Oct 2006 22:17:17 +0000 Subject: [PATCH] MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE. --- lang/en_utf8/quiz.php | 1 + question/type/shortanswer/display.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@
- +
-- 2.39.5