From 177580e5d6d4bd66ec718b2fe479906f7fa0c8b3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 3 Mar 2009 03:42:29 +0000 Subject: [PATCH] * When converting cid: URL's in to /webcit/mimepart... URL's, prefix the inserted 'src=' with an additional space. Sometimes it's needed when other parameters such as alt text appear prior to the src= declaration, and in cases where it's not needed, the extra space won't hurt anything. --- webcit/html2html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/html2html.c b/webcit/html2html.c index e5545356d..c1c2b64a5 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -411,7 +411,7 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St /* add in /webcit/mimepart//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); -- 2.30.2