Re: Bug#23451: hypermail: <br> inside <pre></pre>

From: Kent Landfield <kent_at_hypermail-project.org>
Date: Fri, 12 Jun 1998 19:07:20 -0500 (CDT)
Message-Id: <199806130007.TAA06527_at_landfield.com>


#
# On Fri, Jun 12, 1998 at 06:25:38PM -0500, Ervin D. Walter wrote:
#
# > Indeed, this second patch is cleaner. I have verified that the
# > problem still exists in the new upstream version, but there are other
# > complications. Version 1.0 or whatever that we use in debian only
# > prints some headers (From, Subject, etc). 2.0 beta 2 prints every
# > header (received, etc) or none. I am gonna suggest to the upstream
# > developers that the 1.x functionality would be valuable.

Hmm. I'll take a look and make sure it is the same as the 1.02. It should only print a select set of headers.

            if (!strncmp(bp->line, "From:", 5) ||
               !strncmp(bp->line, "To:", 3) ||
               !strncmp(bp->line, "Date:", 5) ||
               !strncmp(bp->line, "Subject:", 8)) {
               fprintf(fp, "<STRONG>%s</STRONG><BR>\n", bp->line);
            }

This is what is in the code. Not sure why its dumping everything... I'll see.

# I have to admit that I haven't taken a look at the new hypermail.
# Maybe this is/could/should be user-configurable.

> From the standpoint of showing them or not, it already is. From the standpoint of selecting individual RFC822 lines, it is not.

# As far as I recall the current hypermail source lacks some of the
# patches Debian ships so it'll take some time to patch it up
# again - this prevents me from doing it at the moment...

This is true. I need to review the patches again to make sure all the system-related ones are in. (Sadly I do not have a Debian box to test it with locally.)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
Email: kent_at_landfield.com             http://www.landfield.com/
Email: kent_at_nfr.net                   http://www.nfr.net/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/
Received on Sat 13 Jun 1998 02:09:27 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:49 PM GMT GMT