nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] m_getfld() bug fix


From: Valdis . Kletnieks
Subject: Re: [Nmh-workers] m_getfld() bug fix
Date: Fri, 06 Dec 2013 19:57:51 -0500

On Fri, 06 Dec 2013 19:24:30 -0500, David Levine said:
> Ralph wrote:
>
> > Hi Valdis,
> >
> > > ! Need to go! Need ... to ... go!
> > > !    Need to go! Need ... to ... go!
> > >
> > > I have zero clue why mhfixmsg is apparently adding 2 leading blanks to
> > > the line.
> >
> > Give us a clue about the third.  ;-)
>
> :-)
>
> Valdis, what platform is this on?  And what does the
> mhfixmsg-format-text/html line in your etc/mhn.defaults
> look like?

Fedora Rawhide,

[~] grep mhfix /usr/local/etc/mhn.defaults
mhfixmsg-format-text/html: elinks -dump -force-html -no-numbering '%F'
[~] rpm -q elinks
elinks-0.12-0.37.pre6.fc21.x86_64

That hint allowed further testing:

[~] cat > /tmp/foo
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-
left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>Need to go! Need ... to ... go!</div>
</body>
</html>
[~] elinks -dump -force-html -no-numbering /tmp/foo
   Need to go! Need ... to ... go!
[~]

Verdict: elinks is introducing the 3 blanks. I went checking back, and it's
been doing this at least since F16 (May 2011). (I can't install the F15 because
it pre-reqs an older library)..

Attachment: pgp8qHgr6n3em.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]