X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=6da9ce88e8301ab991a7e594188baad3003bcf60;hb=f94a10bf00de699a5f3d22ea74665053a5661175;hp=c9306c523adf8708f62802632e25f1db7dfad306;hpb=dbf7c7d9ad697f7951f102c8372e7d65c167de96;p=friendica.git diff --git a/mod/item.php b/mod/item.php index c9306c523a..6da9ce88e8 100644 --- a/mod/item.php +++ b/mod/item.php @@ -353,20 +353,6 @@ function item_post(App $a) { $categories .= file_tag_list_to_file($filedas, 'file'); } - // Work around doubled linefeeds in Tinymce 3.5b2 - // First figure out if it's a status post that would've been - // created using tinymce. Otherwise leave it alone. - -/* $plaintext = (local_user() ? intval(get_pconfig(local_user(),'system','plaintext')) || !feature_enabled($profile_uid,'richtext') : 0); - if((! $parent) && (! $api_source) && (! $plaintext)) { - $body = fix_mce_lf($body); - }*/ - $plaintext = (local_user() ? !feature_enabled($profile_uid,'richtext') : 0); - if((! $parent) && (! $api_source) && (! $plaintext)) { - $body = fix_mce_lf($body); - } - - // get contact info for poster $author = null;