diff options
Diffstat (limited to 'mod/message.php')
-rw-r--r-- | mod/message.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/message.php b/mod/message.php index 1369fde2e..260f4bb14 100644 --- a/mod/message.php +++ b/mod/message.php @@ -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); |