From: <pdo...@us...> - 2010-02-16 20:17:19
|
Revision: 13915 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13915&view=rev Author: pdontthink Date: 2010-02-16 20:17:13 +0000 (Tue, 16 Feb 2010) Log Message: ----------- make it RFC 3676 compliant Modified Paths: -------------- branches/SM-1_4-STABLE/squirrelmail/src/compose.php Modified: branches/SM-1_4-STABLE/squirrelmail/src/compose.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2010-02-16 20:14:18 UTC (rev 13914) +++ branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2010-02-16 20:17:13 UTC (rev 13915) @@ -892,14 +892,9 @@ $body = ''; $cnt = count($rewrap_body); for ($i=0;$i<$cnt;$i++) { - - // we could use a regular expression if we want to - // catch more possible signature indicators - if ($strip_sigs - && ($rewrap_body[$i] == '-- ' || $rewrap_body[$i] == '--')) { + if ($strip_sigs && $rewrap_body[$i] == '-- ') { break; } - sqWordWrap($rewrap_body[$i], $editor_size, $default_charset); if (preg_match("/^(>+)/", $rewrap_body[$i], $matches)) { $gt = $matches[1]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |