aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2014-05-28 08:35:53 +0200
committerAndreas Schwab2014-05-28 08:35:53 +0200
commite494904ce4755f64cb2d76e1b3d5cbc228c07a2d (patch)
treed735f02d79735dd8fab74d063a221d48d9f19b0f
parent9828d523192e9fc02b9aa78a84a8c012c8cc2a75 (diff)
downloademacs-e494904ce4755f64cb2d76e1b3d5cbc228c07a2d.tar.gz
emacs-e494904ce4755f64cb2d76e1b3d5cbc228c07a2d.zip
* html2text.el (html2text-get-attr): Fix typo when splitting value from
attribute. (Bug#17613)
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/html2text.el2
2 files changed, 6 insertions, 1 deletions
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 @@
12014-05-28 Andreas Schwab <schwab@linux-m68k.org>
2
3 * html2text.el (html2text-get-attr): Fix typo when splitting value from
4 attribute. (Bug#17613)
5
12014-05-06 Glenn Morris <rgm@gnu.org> 62014-05-06 Glenn Morris <rgm@gnu.org>
2 7
3 * gnus-fun.el (gnus-grab-cam-face): 8 * 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.")
204 ;; size=3 204 ;; size=3
205 ((string-match "[^ ]=[^ ]" this) 205 ((string-match "[^ ]=[^ ]" this)
206 (let ((attr (nth 0 (split-string this "="))) 206 (let ((attr (nth 0 (split-string this "=")))
207 (value (substring prev (1+ (string-match "=" this))))) 207 (value (substring this (1+ (string-match "=" this)))))
208 (setq attr-list (cons (list attr value) attr-list)))) 208 (setq attr-list (cons (list attr value) attr-list))))
209 ;; size =3 209 ;; size =3
210 ((string-match "\\`=[^ ]" this) 210 ((string-match "\\`=[^ ]" this)