* html2text.el (html2text-get-attr): Fix typo when splitting value from

attribute. (Bug#17613)
This commit is contained in:
Andreas Schwab 2014-05-28 08:35:53 +02:00
parent 9828d52319
commit e494904ce4
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-05-28 Andreas Schwab <schwab@linux-m68k.org>
* html2text.el (html2text-get-attr): Fix typo when splitting value from
attribute. (Bug#17613)
2014-05-06 Glenn Morris <rgm@gnu.org>
* gnus-fun.el (gnus-grab-cam-face):

View file

@ -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)