mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Make calls to toHTML which use $modifiers consistent to avoid potential future problems.
This commit is contained in:
@@ -395,7 +395,7 @@ if($row['content_text'] && isset($content_pref["content_cat_text"]) && $content_
|
||||
$CONTENT_CAT_LIST_TABLE_TEXT = $tp->toHTML($row['content_text'], TRUE, "constants");
|
||||
}else{
|
||||
$rowtext = preg_replace("/\[newpage.*?]/si", " ", $row['content_text']);
|
||||
$rowtext = $tp->toHTML($rowtext, TRUE, "nobreak constants");
|
||||
$rowtext = $tp->toHTML($rowtext, TRUE, "nobreak, constants");
|
||||
|
||||
$rowtext = strip_tags($rowtext);
|
||||
$words = explode(" ", $rowtext);
|
||||
|
Reference in New Issue
Block a user