diff --git a/globals/functions.php b/globals/functions.php index 7b6626a..fcc5b2c 100644 --- a/globals/functions.php +++ b/globals/functions.php @@ -8,6 +8,7 @@ use Alphaland\Assets\Render; use Alphaland\Games\Game; +use Alphaland\Moderation\Filter; use Alphaland\Users\Render as UsersRender; use Alphaland\Web\WebContextManager; @@ -4183,7 +4184,7 @@ function cleanOutput($t, $linebreaks=true) { $t = nl2br($t); } $t = strip_tags($t, '
'); - return filterText($t); + return Filter::FilterText($t); } function cleanOutputNoFilter($t, $linebreaks=true) {