Skip to content

Commit

Permalink
Merge branch 'MDL-28508_19' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_19_STABLE
  • Loading branch information
samhemelryk committed Aug 2, 2011
2 parents 2d58b91 + 4d0a6fe commit 6ea9d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question/format/aiken/format.php
Expand Up @@ -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[] = '';
}
Expand Down

0 comments on commit 6ea9d49

Please sign in to comment.