Skip to content
Browse files

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

…OODLE_21_STABLE
  • Loading branch information...
2 parents 365ed23 + a637417 commit 6f2723ae8388e31f26f107541af75dcdb829021c @samhemelryk samhemelryk committed Aug 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/format/aiken/format.php
View
4 question/format/aiken/format.php
@@ -96,8 +96,8 @@ public 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 6f2723a

Please sign in to comment.
Something went wrong with that request. Please try again.