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: Ted Zlatanov <tzz <at> lifelogs.com>
To: Richard Stallman <rms <at> gnu.org>
Cc: larsi <at> gnus.org, 24831 <at> debbugs.gnu.org, yamaoka <at> jpl.org, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#24831: shr mangling messages
Date: Fri, 04 Nov 2016 14:18:03 -0400
On Tue, 01 Nov 2016 13:16:52 -0400 Richard Stallman <rms <at> gnu.org> wrote: 

>> Another idea would be first run it through a validator.
>> If valid, proceed as before.
>> If invalid, just spew out all the text nodes of the whole document,
>> separated by spaces.

RS> Do we have a validator in Emacs Lisp?  Or would we run one as a child?
RS> What program is available?

IMHO validation is not a workable solution, both because of complexity
and because real-world HTML authors are incredibly skilled at writing
broken HTML that somehow renders in the browsers they support.

Ted




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.