* When converting cid: URL's in to /webcit/mimepart... URL's, prefix the inserted...
authorArt Cancro <ajc@citadel.org>
Tue, 3 Mar 2009 03:42:29 +0000 (03:42 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 3 Mar 2009 03:42:29 +0000 (03:42 +0000)
webcit/html2html.c

index e5545356d4f66c05d15ed577c7c50ed707d88274..c1c2b64a55a8283b87d92b939a6cb7c5cd114ecc 100644 (file)
@@ -411,7 +411,7 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St
                                /* add in /webcit/mimepart/<msgno>/CID/ 
                                   trailing / stops dumb URL filters getting excited */
                                StrBufAppendPrintf(converted_msg,
-                                               "src=\"/webcit/mimepart/%d/",msgnum);
+                                               " src=\"/webcit/mimepart/%d/",msgnum);
                                StrBufAppendBufPlain(converted_msg, cid_start, cid_end - cid_start, 0);
                                StrBufAppendBufPlain(converted_msg, "/\"", -1, 0);