Chargement en cours spip_bonux_options.php +280 −276 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -211,6 +211,10 @@ function text_truncate($text, $length = 100, $options = array()) { $options = array_merge($default, $options); extract($options); $html = $options['html']; $exact = $options['exact']; $ending = $options['ending']; if ($html) { if (mb_strlen(preg_replace('/<.*?>/', '', $text)) <= $length) { return $text; Chargement en cours Chargement en cours
spip_bonux_options.php +280 −276 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -211,6 +211,10 @@ function text_truncate($text, $length = 100, $options = array()) { $options = array_merge($default, $options); extract($options); $html = $options['html']; $exact = $options['exact']; $ending = $options['ending']; if ($html) { if (mb_strlen(preg_replace('/<.*?>/', '', $text)) <= $length) { return $text; Chargement en cours