Mercurial > hg > xemacs
diff my-news.el @ 83:8e82ac8512d2
more html handling
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Thu, 02 Jul 2026 10:09:43 +0100 |
| parents | 0508101db40f |
| children | 2a83bb36896f |
line wrap: on
line diff
--- a/my-news.el Thu Jul 02 10:09:04 2026 +0100 +++ b/my-news.el Thu Jul 02 10:09:43 2026 +0100 @@ -810,7 +810,7 @@ (defun use-text-not-html (&optional clear) (when (and (if clear (looking-at "<html") - (looking-at "> <\\(html\\|div\\)")) + (looking-at "> <\\(!doctype\\|html\\|div\\)")) (bufferp (get-buffer "*Shell Command Output*"))) ;; replace HTML only with result of my HTML filter (delete-region (point)(mark t))
