Re: behavior of showhtml=0

---------

From: Peter C. McCluskey (pcm@rahul.net)
Date: Thu Apr 19 2001 - 12:51:47 CDT


 gotoh@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
>@@ -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

---------

This archive was generated by hypermail 2.1.5.