Filter impl update

This commit is contained in:
Astrologies 2021-12-21 18:51:27 -05:00
parent bfff7a8b8d
commit 919ba89b38
1 changed files with 2 additions and 1 deletions

View File

@ -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, '<br>');
return filterText($t);
return Filter::FilterText($t);
}
function cleanOutputNoFilter($t, $linebreaks=true) {