diff options
author | Lars Magne Ingebrigtsen <[email protected]> | 2010-09-01 23:40:39 +0000 |
---|---|---|
committer | Katsumi Yamaoka <[email protected]> | 2010-09-01 23:40:39 +0000 |
commit | fe01e1a3a0fc9f189a26ef8b0712672169d2e2bf (patch) | |
tree | a3f6bb30e4d69f4fc126b8185d8fc82223e5c01d | |
parent | 765abcce0abdce0177ecc3330199f5921eccc84c (diff) |
gnus-html.el: Delete the IMG_ALT region.
-rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/gnus/gnus-html.el | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a1c33b0981..8c7d93567e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2010-09-01 Lars Magne Ingebrigtsen <[email protected]> + + * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region. + 2010-09-01 Stefan Monnier <[email protected]> Fix up some byte-compiler warnings. diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el index 8a7fae1fe9..888b298810 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 )) |