Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting the right URL and ALT text on images.
@ 2010-09-19  7:41 Julien Danjou
  0 siblings, 0 replies; only message in thread
From: Julien Danjou @ 2010-09-19  7:41 UTC (permalink / raw)
  To: ding; +Cc: Julien Danjou

Signed-off-by: Julien Danjou <julien@danjou.info>
---
 lisp/ChangeLog    |    2 ++
 lisp/gnus-html.el |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d3febc4..09af7dd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,8 @@
 
 	* gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
 	than curl.
+	(gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
+	the right URL and ALT text on images.
 
 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el
index 1bd9ed4..fd59ec1 100644
--- a/lisp/gnus-html.el
+++ b/lisp/gnus-html.el
@@ -325,7 +325,7 @@ fit these criteria."
         (let ((inhibit-read-only t)
               (string (buffer-substring (cadr image) (caddr image))))
           (delete-region (cadr image) (caddr image))
-          (gnus-html-put-image file (cadr image) string))))))
+          (gnus-html-put-image file (cadr image) (car image) string))))))
 
 (defun gnus-html-put-image (file point string &optional url alt-text)
   (when (gnus-graphic-display-p)
-- 
1.7.1




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-19  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-19  7:41 [PATCH] (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting the right URL and ALT text on images Julien Danjou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).