From 29fd15405dd1ccb6f94db6e6a55225d54d1ab204 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Nov 2011 13:21:49 +0100 Subject: [PATCH] Fix: new lines not correctly outputed --- htdocs/fichinter/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 53045359d42..fd6d52077c5 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -906,7 +906,7 @@ elseif ($fichinterid) print ''; print ''; print ''; // ancre pour retourner sur la ligne - print nl2br($objp->description); + print dol_htmlentitiesbr($objp->description); // Date print ''.dol_print_date($db->jdate($objp->date_intervention),'dayhour').'';