Bugfix: multiple linefeeds were generated when items where written in the editor. The existing fix didn't really work

This commit is contained in:
Michael Vogel 2012-07-14 19:54:27 +02:00
commit 8d7d46ae7a
3 changed files with 29 additions and 0 deletions

View file

@ -1537,6 +1537,7 @@ function undo_post_tagging($s) {
function fix_mce_lf($s) {
$s = str_replace("\r\n","\n",$s);
$s = str_replace("\n\n","\n",$s);
return $s;
}