Permalink
Browse files

Merge branch 'MDL-28508_19' of git://github.com/timhunt/moodle into M…

…OODLE_19_STABLE
  • Loading branch information...
2 parents 2d58b91 + 4d0a6fe commit 6ea9d495b817a234d4f04cbe9cc1221be4880c3a @samhemelryk samhemelryk committed Aug 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/format/aiken/format.php
@@ -89,8 +89,8 @@ function readquestions($lines) {
} else {
// Must be the first line of a new question, since no recognised prefix.
$question->qtype = MULTICHOICE;
- $question->name = htmlspecialchars(substr($nowline, 0, 50));
- $question->questiontext = htmlspecialchars($nowline);
+ $question->name = shorten_text(s($nowline), 50);
+ $question->questiontext = s($nowline);
$question->single = 1;
$question->feedback[] = '';
}

0 comments on commit 6ea9d49

Please sign in to comment.