]> git.mxchange.org Git - friendica.git/blobdiff - mod/message.php
protect jappixmini/proxy from typo check, more work on email2 connector
[friendica.git] / mod / message.php
index 1369fde2e2708af28e2d55ddd28ea1e053bda21e..260f4bb14d30045b93c62b0eff4e10fabde70706 100644 (file)
@@ -48,8 +48,7 @@ function message_post(&$a) {
 
        $plaintext = intval(get_pconfig(local_user(),'system','plaintext'));
        if(! $plaintext) {
-               $body = str_replace("\r\n","\n",$body);
-               $body = str_replace("\n\n","\n",$body);
+               $body = fix_mce_lf($body);
        }
        
        $ret = send_message($recipient, $body, $subject, $replyto);