On 01/19/2013 08:09 PM, Michael Heydekamp wrote:
> What if a quoted blank line contains more than one single WSP?

In format=flowed text according to the RFC it is a flowed line. Which
means it will be joined with the next line.

Relevant parts of the document:
"A generating agent SHOULD:
      1.  Ensure all lines (fixed and flowed) are 79 characters or
          fewer in length, counting the trailing space but not
          counting the CRLF, unless a word by itself exceeds 79
          characters.
      2.  Trim spaces before user-inserted hard line breaks."
"If the first character of a line is a space, the line has been
   space-stuffed (see section 4.4).  Logically, this leading space is
   deleted before examining the line further (that is, before checking
   for flowed)."
"If the line ends in one or more spaces, the line is flowed.
   Otherwise it is fixed.  Trailing spaces are part of the line's
   content, but the CRLF of a soft line break is not."

So, it looks that on conversion to flowed format all lines should be
rtrim()'ed from spaces. This one is fixed in
87a96809c7a067f8cc140884558898fd92c87032.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to