]> git.eshelyaron.com Git - emacs.git/commit
Make eww more liberal when interpreting some invalid HTML
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Sep 2019 14:07:34 +0000 (16:07 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Sep 2019 14:10:23 +0000 (16:10 +0200)
commit568f1488a69e8cb0961571ff8f158df8891c3c44
treee83e7e54897400293078cd018d0f71ddee3e8165
parent49a4b86925f1338268a2e79d0ef164a3cb368ec2
Make eww more liberal when interpreting some invalid HTML

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