]> git.eshelyaron.com Git - emacs.git/commit
Ensure <style> and <template> HTML tags are never "readable" in EWW
authorJim Porter <jporterbugs@gmail.com>
Wed, 2 Jul 2025 01:33:05 +0000 (18:33 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:12:32 +0000 (22:12 +0200)
commit8fc5d14f7a76456440f52bd8b5462399ebbdc2ff
tree7e8e98005498f7173f87ad57e51423902bf68890
parentbeba029ae91e75c2030aa92a54766777c02a8179
Ensure <style> and <template> HTML tags are never "readable" in EWW

This helps fix EWW readable mode on some web pages that use these tags,
like the FSF blog.

* lisp/net/eww.el (eww--walk-readability): Check for <style> and
<template> tags.

(cherry picked from commit fa77689b1e352febb2cf9bdd38c595937ae8089e)
lisp/net/eww.el