aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2010-10-06 13:21:07 +0000
committerKatsumi Yamaoka2010-10-06 13:21:07 +0000
commit356242428b39c85760780f961ba40672d8e2d8b3 (patch)
tree36dc2dbd8420af3b190c77f18fc182ccb33e19dc
parent1d8e1f787db65c09d7d2394d5644b63a3bd2f7df (diff)
downloademacs-356242428b39c85760780f961ba40672d8e2d8b3.tar.gz
emacs-356242428b39c85760780f961ba40672d8e2d8b3.zip
shr.el (shr-render-td): Only delete space at the end of the TD.
-rw-r--r--lisp/gnus/ChangeLog1
-rw-r--r--lisp/gnus/shr.el6
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5e6a1e488f8..08c5282728e 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,6 +1,7 @@
12010-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org> 12010-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * shr.el (shr-insert): Get 'space transition right. 3 * shr.el (shr-insert): Get 'space transition right.
4 (shr-render-td): Only delete space at the end of the TD.
4 5
5 * nnimap.el (nnimap-open-connection): Prepare to support 6 * nnimap.el (nnimap-open-connection): Prepare to support
6 open-gnutls-stream. 7 open-gnutls-stream.
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index e0bb868f40e..1c496ced543 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -553,8 +553,10 @@ Return a string with image data."
553 (let ((shr-width width) 553 (let ((shr-width width)
554 (shr-indentation 0)) 554 (shr-indentation 0))
555 (shr-generic cont)) 555 (shr-generic cont))
556 (while (re-search-backward "\n *$" nil t) 556 (delete-region
557 (delete-region (match-beginning 0) (match-end 0))) 557 (point)
558 (+ (point)
559 (skip-chars-backward " \t\n")))
558 (goto-char (point-min)) 560 (goto-char (point-min))
559 (let ((max 0)) 561 (let ((max 0))
560 (while (not (eobp)) 562 (while (not (eobp))