Corrige les retours à la ligne dans les messages
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

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)
{
return nl2br($string);
return str_replace(array('\r\n', '\r', '\n'), "<br />", $string);
}
/* vim: set expandtab: */