]> git.eshelyaron.com Git - emacs.git/commit
Retain the <base> tag when making a page in EWW document readable
authorSteven Allen <steven@stebalien.com>
Wed, 2 Jul 2025 21:32:28 +0000 (14:32 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:14:09 +0000 (22:14 +0200)
commite701649fd0463fc08cfc823c56cca9e7f37bd82d
tree97698a4132540682152922b8fce94dd8b005c179
parentff51ea596776d2583223754ceced41ad409881df
Retain the <base> tag when making a page in EWW document readable

The base tag is necessary to correctly resolve relative links.

* lisp/net/eww.el (eww-readable-dom): Retain the base tag in addition to
the title/link tags.  (Bug#78948)
* test/lisp/net/eww-tests.el (eww-test--wordy-page): Add a base tag.
(eww-test/readable/default-readable): Test that the base tag is retained.

(cherry picked from commit f10bf71151b7f5d0e1d7d183c11261b257d4d022)
lisp/net/eww.el
test/lisp/net/eww-tests.el