Skip to content
Snippets Groups Projects
Commit c60a2ff7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: new lines not correctly outputed

parent f16b7516
Branches
Tags
No related merge requests found
...@@ -922,7 +922,7 @@ else if ($id > 0 || ! empty($ref)) ...@@ -922,7 +922,7 @@ else if ($id > 0 || ! empty($ref))
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td>'; print '<td>';
print '<a name="'.$objp->rowid.'"></a>'; // ancre pour retourner sur la ligne print '<a name="'.$objp->rowid.'"></a>'; // ancre pour retourner sur la ligne
print nl2br($objp->description); print dol_htmlentitiesbr($objp->description);
// Date // Date
print '<td align="center" width="150">'.dol_print_date($db->jdate($objp->date_intervention),'dayhour').'</td>'; print '<td align="center" width="150">'.dol_print_date($db->jdate($objp->date_intervention),'dayhour').'</td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment