From ad903af81baf24252d0657c22bf7f24aa77c2ee4 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Sun, 12 Nov 2006 11:40:16 +0000
Subject: [PATCH] ne pas exploser les listes si le texte est tout d'un bloc
 (Francois Schreuer)

---
 ecrire/inc/presentation.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php
index 5bdc9d94c8..a42a5bc5d1 100644
--- a/ecrire/inc/presentation.php
+++ b/ecrire/inc/presentation.php
@@ -348,7 +348,7 @@ function afficher_liste_display_neq4($largeurs, $t, $styles = '') {
 		$res .= "\n<td" .
 			($largeur ? " width=\"$largeur\"" : '') .
 			($style ? " class=\"$style\"" : '') .
-			">$texte\n</td>";
+			">" . lignes_longues($texte) . "\n</td>";
 	}
 	$res .= "\n</tr>";
 	return $res;
-- 
GitLab