Skip to content

Commit

Permalink
Merge branch 'MDL-80537_402' of https://github.com/timhunt/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_402_STABLE
  • Loading branch information
HuongNV13 committed Feb 5, 2024
2 parents 44fd4d7 + 24826f4 commit f1e4c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question/bank/viewquestiontext/classes/question_text_row.php
Expand Up @@ -55,8 +55,8 @@ public function get_title(): string {

protected function display_content($question, $rowclasses): void {
if ($this->plain) {
$text = question_utils::to_plain_text($question->questiontext,
$question->questiontextformat, ['noclean' => true, 'para' => false, 'filter' => false]);
$text = s(question_utils::to_plain_text($question->questiontext,
$question->questiontextformat, ['noclean' => true, 'para' => false, 'filter' => false]));
} else {
$text = question_rewrite_question_preview_urls($question->questiontext, $question->id,
$question->contextid, 'question', 'questiontext', $question->id,
Expand Down

0 comments on commit f1e4c65

Please sign in to comment.