]> git.eshelyaron.com Git - emacs.git/commitdiff
* html2text.el (html2text-get-attr): Fix typo when splitting value from
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 28 May 2014 06:35:53 +0000 (08:35 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 28 May 2014 06:35:53 +0000 (08:35 +0200)
attribute. (Bug#17613)

lisp/gnus/ChangeLog
lisp/gnus/html2text.el

index 3807fa9df0d08c391425d9bc43cac7515266d214..c9a23e47e6c7188a70fddd500667c643481bda63 100644 (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):
index 85d40cc2bcd77c0f056ed10f1330b45ba5e48a6a..78cecd923561d0bdad6acc89249c37e75c1a7c8a 100644 (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)