nmh-workers
[Top] [All Lists]

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

2013-12-06 18:58:49
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: pgpfZ7mRmuViF.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>