From 3df8c4ff75fd055cd9c82f048edbce39e2120063 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 29 Mar 2022 17:01:05 +0200 Subject: [PATCH] Replace deprecated method --- app/Support/Twig/General.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php index 13859ee55b..e1e53b521f 100644 --- a/app/Support/Twig/General.php +++ b/app/Support/Twig/General.php @@ -195,7 +195,7 @@ class General extends AbstractExtension ] ); - return (string) $converter->convertToHtml($text); + return (string) $converter->convert($text); }, ['is_safe' => ['html']] ); }