[gnus git] branch master updated: m0-11-17-gdd1bc0b =1= html2text.el (html2text-get-attr): Fix typo when splitting value from attribute (Bug#17613)

Katsumi Yamaoka <[email protected]> Mon, 02 Jun 2014 08:55:58 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  dd1bc0b643c75fdd9c2cb817437bb0f7fd8b1ed4 (commit)
      from  ceed930de72563fd306d77958ecdf2470db2cc5d (commit)


- Log -----------------------------------------------------------------
commit dd1bc0b643c75fdd9c2cb817437bb0f7fd8b1ed4
Author: Andreas Schwab <[email protected]>
Date:   Mon Jun 2 06:55:48 2014 +0000

    html2text.el (html2text-get-attr): Fix typo when splitting value from attribute (Bug#17613)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 08ae8b1..1b4a0d2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-02  Andreas Schwab  <[email protected]>
+
+	* html2text.el (html2text-get-attr): Fix typo when splitting value from
+	attribute. (Bug#17613)
+
 2014-05-29  Stefan Monnier  <[email protected]>
 
 	* mm-view.el (mm-display-inline-fontify): Use font-lock-ensure.
diff --git a/lisp/html2text.el b/lisp/html2text.el
index 85d40cc..78cecd9 100644
--- a/lisp/html2text.el
+++ b/lisp/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)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog    |    5 +++++
 lisp/html2text.el |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project