emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117164: * html2text.el (html2text-get-attr): Fix


From: Andreas Schwab
Subject: [Emacs-diffs] emacs-24 r117164: * html2text.el (html2text-get-attr): Fix typo when splitting value from
Date: Wed, 28 May 2014 06:39:32 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117164
revision-id: address@hidden
parent: address@hidden
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Wed 2014-05-28 08:35:53 +0200
message:
  * html2text.el (html2text-get-attr): Fix typo when splitting value from
  attribute. (Bug#17613)
modified:
  lisp/gnus/ChangeLog            changelog-20091113204419-o5vbwnq5f7feedwu-1433
  lisp/gnus/html2text.el         
html2text.el-20091113204419-o5vbwnq5f7feedwu-3253
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2014-05-08 18:12:34 +0000
+++ b/lisp/gnus/ChangeLog       2014-05-28 06:35:53 +0000
@@ -1,3 +1,8 @@
+2014-05-28  Andreas Schwab  <address@hidden>
+
+       * html2text.el (html2text-get-attr): Fix typo when splitting value from
+       attribute. (Bug#17613)
+
 2014-05-06  Glenn Morris  <address@hidden>
 
        * gnus-fun.el (gnus-grab-cam-face):

=== modified file 'lisp/gnus/html2text.el'
--- a/lisp/gnus/html2text.el    2014-01-01 07:43:34 +0000
+++ b/lisp/gnus/html2text.el    2014-05-28 06:35:53 +0000
@@ -204,7 +204,7 @@
        ;; 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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]