diff --git a/onyx2/modules/templates/smarty/plugins/modifier.nl2br.php b/onyx2/modules/templates/smarty/plugins/modifier.nl2br.php index d9ae192..d5c2bd9 100644 --- a/onyx2/modules/templates/smarty/plugins/modifier.nl2br.php +++ b/onyx2/modules/templates/smarty/plugins/modifier.nl2br.php @@ -27,7 +27,7 @@ */ function smarty_modifier_nl2br($string) { - return nl2br($string); + return str_replace(array('\r\n', '\r', '\n'), "
", $string); } /* vim: set expandtab: */