From fe01e1a3a0fc9f189a26ef8b0712672169d2e2bf Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 1 Sep 2010 23:40:39 +0000 Subject: [PATCH] gnus-html.el: Delete the IMG_ALT region. --- lisp/gnus/ChangeLog | 4 ++++ lisp/gnus/gnus-html.el | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a1c33b09815..8c7d93567e7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2010-09-01 Lars Magne Ingebrigtsen + + * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region. + 2010-09-01 Stefan Monnier Fix up some byte-compiler warnings. diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el index 8a7fae1fe9a..888b2988104 100644 --- a/lisp/gnus/gnus-html.el +++ b/lisp/gnus/gnus-html.el @@ -150,6 +150,10 @@ (gnus-overlay-put overlay 'gnus-button-url url) (when gnus-article-mouse-face (gnus-overlay-put overlay 'mouse-face gnus-article-mouse-face))))) + ;; The upper-case IMG_ALT is apparently just an artifact that + ;; should be deleted. + ((equal tag "IMG_ALT") + (delete-region start end)) ;; Whatever. Just ignore the tag. (t )) -- 2.39.2