html.c: removed extra newlines entering/exiting blockquote sections.
[citadel.git] / citadel / html.c
index d7e986153e7fd861ca0eda5aa0cb40dc4625ce41..d8c92fcff7ad378be5339bd7a7ae801f1dfd8260 100644 (file)
@@ -207,7 +207,6 @@ char *html_to_ascii(char *inputmsg, int msglen, int screenwidth, int do_citaform
                                }
 
                                else if (!strcasecmp(tag, "BLOCKQUOTE")) {
-                                       strcat(outbuf, nl);
                                        ++blockquote;
                                        strcpy(nl, "\n");
                                        for (j=0; j<blockquote; ++j) strcat(nl, ">");
@@ -220,7 +219,6 @@ char *html_to_ascii(char *inputmsg, int msglen, int screenwidth, int do_citaform
                                        strcpy(nl, "\n");
                                        for (j=0; j<blockquote; ++j) strcat(nl, ">");
                                        strcat(outbuf, nl);
-                                       strcat(outbuf, nl);
                                }
 
                        }