This closes bug #453335
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Sep 2001 14:55:50 +0000 (14:55 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Sep 2001 14:55:50 +0000 (14:55 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1522 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php
src/options_personal.php

index 8a348b7..9ebb5de 100644 (file)
         $body = explode("\n", $body);
         $newBody = '';
         foreach ($body as $line) {
-           $line = rtrim($line);
+           if( $line <> '-- ' )
+              $line = rtrim($line);
            if (strlen($line) <= $editor_size + 1)
               $newBody .= $line . "\n";
            else {
index e5bab67..3a40f28 100644 (file)
    if ( $prefix_sig )
      echo ' checked';
    echo '>&nbsp;&nbsp;' .
-        _( "Prefix signature with '--' ?" ) . '<BR>';
+        _( "Prefix signature with '-- ' ?" ) . '<BR>';
    echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>";
 ?>
             </td>