Corrige les retours à la ligne dans les messages

This commit is contained in:
Nigel Sheldon 2020-11-22 11:26:07 +01:00
parent 38851de02b
commit fa20708cba
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
*/
function smarty_modifier_nl2br($string)
{
return nl2br($string);
return str_replace(array('\r\n', '\r', '\n'), "<br />", $string);
}
/* vim: set expandtab: */