diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index 6452bac406..5318cc114d 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -1047,7 +1047,7 @@ abstract class bo_merge } } // replace

and
with CRLF (remove

and CRLF) - $value = str_replace(array("\r","\n",'

','

','
'),array('','','',"\r\n","\r\n"),$value); + $value = str_replace(array("\r","\n",'

','

','
','
','
'),array('','','',"\r\n",'',"\r\n","\r\n"),$value); $value = strip_tags($value,implode('',$replace_tags)); // Change ...\r\n to ...\r\n or simplistic line break below will mangle it