unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 568f148: Make eww more liberal when interpreting some invalid HTML
       [not found] ` <20190914141029.7B3DA20BC2@vcs0.savannah.gnu.org>
@ 2019-09-16  9:31   ` Robert Pluim
  2019-09-16 11:45     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Pluim @ 2019-09-16  9:31 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

>>>>> On Sat, 14 Sep 2019 10:10:29 -0400 (EDT), larsi@gnus.org (Lars Ingebrigtsen) said:

    Lars> branch: master
    Lars> commit 568f1488a69e8cb0961571ff8f158df8891c3c44
    Lars> Author: Lars Ingebrigtsen <larsi@gnus.org>
    Lars> Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Lars>     Make eww more liberal when interpreting some invalid HTML
    
    Lars>     * lisp/net/eww.el (eww--preprocess-html): New function (bug#37009)
    Lars>     to be more lenient with invalid HTML and translate common invalid
    Lars>     HTML like "a <= b" into "a &lt;= b" to be more liberal in what we
    Lars>     accept before parsing.
    Lars>     (eww-display-html): Use it.
    Lars>     (eww-readable): Ditto.

If weʼre going to do this for '<', we should probably do it for '>' as
well.

Robert



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master 568f148: Make eww more liberal when interpreting some invalid HTML
  2019-09-16  9:31   ` master 568f148: Make eww more liberal when interpreting some invalid HTML Robert Pluim
@ 2019-09-16 11:45     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-16 11:45 UTC (permalink / raw)
  To: emacs-devel

Robert Pluim <rpluim@gmail.com> writes:

> If weʼre going to do this for '<', we should probably do it for '>' as
> well.

libxml2 parses free-standing > characters as &gt;, so there's nothing we
need to do.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-16 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190914141028.25794.10501@vcs0.savannah.gnu.org>
     [not found] ` <20190914141029.7B3DA20BC2@vcs0.savannah.gnu.org>
2019-09-16  9:31   ` master 568f148: Make eww more liberal when interpreting some invalid HTML Robert Pluim
2019-09-16 11:45     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).