html2text bug (was Re: mm-text-html-renderer)

Katsumi Yamaoka <[email protected]> Thu, 26 Oct 2006 20:23:08 +0900
Newsgroups gmane.emacs.gnus.general,gmane.emacs.gnus.semi.japanese
Organization Emacsen advocacy group
Message-ID <[email protected]>
Hi,

YAGI Tatsuya reported two bugs concerned with html2text.el.
One is that the `html2text' command cannot be called
interactively because mm-view.el doesn't set the interactive
flag in the autoload form:

(eval-and-compile
[...]
  (autoload 'html2text "html2text"))

The other is that the `html2text' command causes infloop if
<a ...> tag is not closed with </a> in an html source.  You can
reproduce this by putting only the following line in an empty
buffer and performing the `html2text' command:

<a href="http://example.com">

It is due to the `html2text-format-tags' function.  Does anyone
have time to fix them?

Thanks in advance.