X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Ftext.php;h=4ec59a66589c05ec8509d53da9e37ec46741fc79;hb=572678fef95816deaa1ecafe5cbcfb8cc65963c9;hp=aced9e0a81471bd4b22900a315a32131b57bca8b;hpb=aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b;p=friendica.git diff --git a/include/text.php b/include/text.php index aced9e0a81..4ec59a6658 100644 --- a/include/text.php +++ b/include/text.php @@ -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; +} \ No newline at end of file