1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-02 19:02:39 +02:00

fixes #3192 strip bbcode/html in meta description

This commit is contained in:
Achim Ennenbach
2018-08-13 20:23:29 +02:00
parent acfaf2df8e
commit 4a313ccadf
2 changed files with 4 additions and 2 deletions

View File

@@ -195,7 +195,8 @@ if(!empty($forumInfo['forum_description']))
{
define("META_DESCRIPTION", $tp->text_truncate(
str_replace(
array('"', "'"), '', strip_tags($tp->toHTML($forumInfo['forum_description']))
//array('"', "'"), '', strip_tags($tp->toHTML($forumInfo['forum_description']))
array('"', "'"), '', $tp->toText($forumInfo['forum_description'])
), 250, '...'));
}