Permalink
Browse files

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

…OODLE_20_STABLE
  • Loading branch information...
2 parents 033be70 + 01ae3d2 commit 0f68bcbc52b3c9d68a79877987c4c187ac2c9441 @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 0f68bcb

Please sign in to comment.