Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…OODLE_21_STABLE
  • Loading branch information...
commit 6f2723ae8388e31f26f107541af75dcdb829021c 2 parents 365ed23 + a637417
Sam Hemelryk samhemelryk authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 question/format/aiken/format.php
4 question/format/aiken/format.php
@@ -96,8 +96,8 @@ public function readquestions($lines) {
96 96 } else {
97 97 // Must be the first line of a new question, since no recognised prefix.
98 98 $question->qtype = MULTICHOICE;
99   - $question->name = htmlspecialchars(substr($nowline, 0, 50));
100   - $question->questiontext = htmlspecialchars($nowline);
  99 + $question->name = shorten_text(s($nowline), 50);
  100 + $question->questiontext = s($nowline);
101 101 $question->single = 1;
102 102 $question->feedback[] = '';
103 103 }

0 comments on commit 6f2723a

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