diff --git a/lib.php b/lib.php index 64b92ff5..55087871 100644 --- a/lib.php +++ b/lib.php @@ -167,7 +167,7 @@ function kanban_inplace_editable($itemtype, $itemid, $newvalue) { $boardmanager->update_column($itemid, ['title' => $newvalue]); } - return new \core\output\inplace_editable('mod_kanban', $itemtype, $itemid, true, $newvalue, $newvalue, null, ''); + return new \core\output\inplace_editable('mod_kanban', $itemtype, $itemid, true, s($newvalue), s($newvalue), null, ''); } /**