mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 21:50:15 +01:00
Support using div as a linebreak
This commit is contained in:
parent
ecb4b7e74a
commit
6aa1e19a6f
@ -1047,7 +1047,7 @@ abstract class bo_merge
|
||||
}
|
||||
}
|
||||
// replace </p> and <br /> with CRLF (remove <p> and CRLF)
|
||||
$value = str_replace(array("\r","\n",'<p>','</p>','<br />'),array('','','',"\r\n","\r\n"),$value);
|
||||
$value = str_replace(array("\r","\n",'<p>','</p>','<div>','</div>','<br />'),array('','','',"\r\n",'',"\r\n","\r\n"),$value);
|
||||
$value = strip_tags($value,implode('',$replace_tags));
|
||||
|
||||
// Change <tag>...\r\n</tag> to <tag>...</tag>\r\n or simplistic line break below will mangle it
|
||||
|
Loading…
Reference in New Issue
Block a user