* add empty lines to html view of messages.
authorWilfried Göesgens <willi@citadel.org>
Sat, 31 Jan 2009 12:54:47 +0000 (12:54 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 31 Jan 2009 12:54:47 +0000 (12:54 +0000)
webcit/msg_renderers.c

index 68655ad537c45a8cd1c247b1d43159de2822efcd..7e19095487a8585cbfa0d27024017229a81e7dfd 100644 (file)
@@ -840,8 +840,10 @@ void render_MAIL_text_plain(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *F
                }
                if (i > 0) StrBufCutLeft(Line, i);
                
-               if (StrLength(Line) == 0)
+               if (StrLength(Line) == 0) {
+                       StrBufAppendBufPlain(Target, HKEY("<tt></tt><br />\n"), 0);
                        continue;
+               }
 
                for (i = bn; i < bq; i++)                               
                        StrBufAppendBufPlain(Target, HKEY("<blockquote>"), 0);