Bugfix: multiple linefeeds were generated when items where written in the editor. The existing fix didn't really work
This commit is contained in:
parent
72f430ae58
commit
8d7d46ae7a
3 changed files with 29 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue