fix_mce_lf on profiles

This commit is contained in:
friendica 2012-04-10 16:31:49 -07:00
parent 703bfcb6d4
commit 9b1bb53234
2 changed files with 16 additions and 10 deletions

View file

@ -1506,3 +1506,8 @@ function undo_post_tagging($s) {
return $s;
}
function fix_mce_lf($s) {
$s = str_replace("\r\n","\n",$s);
$s = str_replace("\n\n","\n",$s);
return $s;
}