From: Andreas Schwab Date: Wed, 28 May 2014 06:35:53 +0000 (+0200) Subject: * html2text.el (html2text-get-attr): Fix typo when splitting value from X-Git-Tag: emacs-24.3.92~154 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e494904ce4755f64cb2d76e1b3d5cbc228c07a2d;p=emacs.git * html2text.el (html2text-get-attr): Fix typo when splitting value from attribute. (Bug#17613) --- 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)