GNU bug report logs - #24831
shr mangling messages

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 31 Oct 2016 02:47:02 UTC

Severity: normal

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 24831 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: bug#24831: shr mangling messages
Date: Fri, 04 Nov 2016 19:28:24 +0900
On Fri, 04 Nov 2016 09:51:52 +0100, Lars Ingebrigtsen wrote:
> Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
>> I did it.  A patch is below.
> Great!  Looks good to me.

Thanks!  I'll commit it to master.

[...]
>> ・No way to exclude text existing outside of <html>...</html>.
> Hm...  I don't quite follow...

I found it in some mails from amazon.co.jp, but not so many and
not so annoying.  Here it is:

<html>
...
</html>             --MuLtIpArT_BoUnDaRy--

Well, is this a reasonable operation?

(with-temp-buffer
  (insert "<html><body>Foo</body></html>Bar")
  (libxml-parse-html-region (point-min) (point-max)))
 => (html nil (body nil "Foo") (html nil (p nil "Bar")))




This bug report was last modified 8 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.