From e7817d0d553581316fac6474bdadda7982afff43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Arenaza?= Date: Mon, 31 Jul 2023 16:22:30 +0200 Subject: [PATCH] MDL-78481 mod_lesson: matching pagetype applying filters fix --- mod/lesson/pagetypes/matching.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/pagetypes/matching.php b/mod/lesson/pagetypes/matching.php index fd48549a765..17c4531c917 100644 --- a/mod/lesson/pagetypes/matching.php +++ b/mod/lesson/pagetypes/matching.php @@ -83,7 +83,7 @@ class lesson_page_type_matching extends lesson_page { foreach ($answers as $answer) { // get all the response if ($answer->response != null) { - $responses[] = trim($answer->response); + $responses[] = format_text(trim($answer->response)); } }