From febff944f86a0bc90b5edce037f458eef0574c4c Mon Sep 17 00:00:00 2001 From: Deltacms Date: Thu, 29 Dec 2022 16:12:49 +0100 Subject: [PATCH] news paragraphe tronque --- module/news/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/news/news.php b/module/news/news.php index d56f9ae..243cec2 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -507,7 +507,7 @@ class news extends common { $arrayContent[$key] = strip_tags($arrayContent[$key]); $arrayContent[$key] = '

'.substr( $arrayContent[$key], 0, $charRemain).'

'; $arrayContent[$key] .= '

... '.$text['news_view']['index'][0].'

' ; - $charDisplay = $charDisplay + 100; //pour tenir compte des balises html de la ligne précédente + $charDisplay = $charDisplay + 1000; } self::$news[$newsIds[$i]]['content'] .= $arrayContent[$key]; $charDisplay = $charDisplay + strlen( strip_tags( $arrayContent[$key]) );