From e494904ce4755f64cb2d76e1b3d5cbc228c07a2d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 28 May 2014 08:35:53 +0200 Subject: [PATCH] * html2text.el (html2text-get-attr): Fix typo when splitting value from attribute. (Bug#17613) --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/html2text.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3807fa9df0d..c9a23e47e6c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2014-05-28 Andreas Schwab + + * html2text.el (html2text-get-attr): Fix typo when splitting value from + attribute. (Bug#17613) + 2014-05-06 Glenn Morris * gnus-fun.el (gnus-grab-cam-face): diff --git a/lisp/gnus/html2text.el b/lisp/gnus/html2text.el index 85d40cc2bcd..78cecd92356 100644 --- a/lisp/gnus/html2text.el +++ b/lisp/gnus/html2text.el @@ -204,7 +204,7 @@ formatting, and then moved afterward.") ;; size=3 ((string-match "[^ ]=[^ ]" this) (let ((attr (nth 0 (split-string this "="))) - (value (substring prev (1+ (string-match "=" this))))) + (value (substring this (1+ (string-match "=" this))))) (setq attr-list (cons (list attr value) attr-list)))) ;; size =3 ((string-match "\\`=[^ ]" this) -- 2.11.4.GIT