From 2752b58f3323a15b964f6518b7720cb81ccf1b0e Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 5 Nov 2012 01:25:08 -0800 Subject: plaintext default - richtext is a feature --- mod/message.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mod/message.php') diff --git a/mod/message.php b/mod/message.php index d501f3b54..2e4f175e2 100644 --- a/mod/message.php +++ b/mod/message.php @@ -50,10 +50,7 @@ function message_post(&$a) { $body = ((x($_REQUEST,'body')) ? escape_tags(trim($_REQUEST['body'])) : ''); $recipient = ((x($_REQUEST,'messageto')) ? intval($_REQUEST['messageto']) : 0 ); - // Work around doubled linefeeds in Tinymce 3.5b2 - - $plaintext = intval(get_pconfig(local_user(),'system','plaintext')); - if(! $plaintext) { + if(feature_enabled(local_user(),'richtext')) { $body = fix_mce_lf($body); } -- cgit v1.2.3