Menu

#122 New lines disappears

open
nobody
None
5
2006-04-30
2006-04-26
No

when reply (or reply all) on message with several line
for example:

something
something
something
something

we get on compose win:

> something something something something
>
>
>

that is I'm loose formatting...
now I'm fix it that way:

--- compose.php.old
+++ compose.php.new
@@ -909,7 +909,7 @@
}

//rewrap the body to clean up
quotations and line lengths
- $body = sqBodyWrap ($body, $editor_size);
+ //$body = sqBodyWrap ($body,
$editor_size);

$body = getReplyCitation($from ,
$orig_header->date) . $body;
$composeMessage->reply_rfc822_header =
$orig_header;

SM ver 1.5.1

WBR,
Santyaga_RU

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-04-30
    • labels: 102905 -->
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-04-30

    Logged In: YES
    user_id=225877

    SquirrelMail has two wrapping functions. Older sqWordWrap()
    is used in 1.4.x. New sqBodyWrap() function was added to
    1.5.1 in order to fix quoted text wrapping issues. New
    function does not work correctly with preformated text.

    Your fix disables wrapping completely. You should not do
    that. It breaks text wrapping in compose.

     
  • Santyaga_ru_RU

    Santyaga_ru_RU - 2006-04-30

    Logged In: YES
    user_id=1456625

    I'm understand it. But I needed for quick solving of this
    problem... I'll try to solve it another way in a days...

    WBR Santyaga_RU

     

Log in to post a comment.