tinymce linebreaks, I fix it, somebody breaks it, I fix it, somebody breaks it. Repeat.
This commit is contained in:
@@ -1578,7 +1578,7 @@ function undo_post_tagging($s) {
|
|||||||
|
|
||||||
function fix_mce_lf($s) {
|
function fix_mce_lf($s) {
|
||||||
$s = str_replace("\r\n","\n",$s);
|
$s = str_replace("\r\n","\n",$s);
|
||||||
$s = str_replace("\n\n","\n",$s);
|
// $s = str_replace("\n\n","\n",$s);
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user