Re: [hypermail] behavior of showhtml=0

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Thu, 19 Apr 2001 10:51:47 -0700 (PDT)
Message-Id: <20010419175147.29FC51D9F_at_foxtrot.rahul.net>

 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 .ps
Received 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