changeset 110092:1e526716f8fc

gnus-html.el: Delete the IMG_ALT region.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 01 Sep 2010 23:40:39 +0000
parents a718416592e8
children cb103d02d7f5
files lisp/gnus/ChangeLog lisp/gnus/gnus-html.el
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Sep 01 17:42:37 2010 +0200
+++ b/lisp/gnus/ChangeLog	Wed Sep 01 23:40:39 2010 +0000
@@ -1,3 +1,7 @@
+2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+	* gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
+
 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	Fix up some byte-compiler warnings.
--- a/lisp/gnus/gnus-html.el	Wed Sep 01 17:42:37 2010 +0200
+++ b/lisp/gnus/gnus-html.el	Wed Sep 01 23:40:39 2010 +0000
@@ -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
 	))