1
0
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:
e107steved
2007-01-07 15:59:42 +00:00
parent 1843e9fed9
commit fab4a3bc10
18 changed files with 75 additions and 75 deletions

View File

@@ -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);