1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16630] Restore clean_formatting()'s behaviour

PHPBB3-16630
This commit is contained in:
JoshyPHP
2020-11-06 23:07:30 +01:00
parent 39c3a6c3e5
commit 8a8893fbd3
4 changed files with 16 additions and 5 deletions

View File

@@ -532,7 +532,7 @@ function strip_bbcode(&$text, $uid = '')
if (preg_match('#^<[rt][ >]#', $text))
{
$text = $phpbb_container->get('text_formatter.utils')->clean_formatting($text);
$text = utf8_htmlspecialchars($phpbb_container->get('text_formatter.utils')->clean_formatting($text));
}
else
{