Corrige les retours à la ligne dans les messages #5

Merged
nemunaire merged 1 commits from fix/return_carriage_in_messages into master 2020-11-22 16:32:17 +00:00
Showing only changes of commit fa20708cba - Show all commits

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: */