Ticket #1486543: 0003-Removes-the-auto-cut-long-lines-feature-on-message-r.patch

File 0003-Removes-the-auto-cut-long-lines-feature-on-message-r.patch, 900 bytes (added by clopez, 3 years ago)

this patch removes the feature of roundcube to wrap long lines on the text that is part of a reply when you compose a message. This feature is weird and thunderbird or evolution dont have it

  • program/steps/mail/compose.inc

    From bdc791b96ee32c3c4bf502717b5fed96f8c2ba62 Mon Sep 17 00:00:00 2001
    From: Carlos Alberto Lopez Perez <clopez@igalia.com>
    Date: Fri, 26 Mar 2010 09:53:01 +0100
    Subject: [PATCH 1/2] Removes the auto-cut long lines feature on message replies.
     If you apply this patch roundcube will not cut long lines
     adding the > symbol at the first of each line anymore.
    
    ---
     program/steps/mail/compose.inc |    2 --
     1 files changed, 0 insertions(+), 2 deletions(-)
    
    diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
    index ed28116..7b50458 100755
    a b function rcmail_create_reply_body($body, $bodyIsHtml) 
    521521        $body = substr($body, 0, max(0, $sp-1)); 
    522522      } 
    523523 
    524     // soft-wrap message first 
    525     $body = rcmail_wrap_quoted($body, 75); 
    526524 
    527525    $body = rtrim($body, "\r\n"); 
    528526