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

View File

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