gotoh_at_horae.dti.ne.jp (Hisashi Gotoh) writes:
>In case of showhtml=0, if file is attached as "message/rfc822", it can
>not be HTMLized.
>
>I think it should be enclosed with <pre>...</pre> like the body part.
>What do you think?
The message/rfc822 attachments that I have tested are all getting inlined and enclosed in <pre>...</pre>'s with or without your patch. Can you provide an mbox where your patch makes a difference?
>Index: print.c
>===================================================================
>RCS file: /CVS/hypermail/src/print.c,v
>retrieving revision 1.22
>diff -u -r1.22 print.c
>--- print.c 2001/04/17 00:21:37 1.22
>+++ print.c 2001/04/19 06:04:04
>_at_@ -937,6 +937,11 @@
> pre = FALSE;
> }
> fprintf(fp, "<p>\n");
>+ } else {
>+ if (!pre) {
>+ fprintf(fp, "<pre>\n");
>+ pre = TRUE;
>+ }
> }
> inheader = FALSE;
> }
-- ------------------------------------------------------------------------------ Peter McCluskey | Fed up with democracy's problems? Examine Futarchy: http://www.rahul.net/pcm | http://hanson.gmu.edu/futarchy.pdf or .psReceived on Thu 19 Apr 2001 07:55:43 PM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT