Corrige les retours à la ligne dans les messages
This commit is contained in:
parent
38851de02b
commit
fa20708cba
@ -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: */
|
||||
|
Loading…
Reference in New Issue
Block a user