Commit 35624242 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

shr.el (shr-render-td): Only delete space at the end of the TD.

parent 1d8e1f78
2010-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
 
* shr.el (shr-insert): Get 'space transition right.
(shr-render-td): Only delete space at the end of the TD.
 
* nnimap.el (nnimap-open-connection): Prepare to support
open-gnutls-stream.
......
......@@ -553,8 +553,10 @@ Return a string with image data."
(let ((shr-width width)
(shr-indentation 0))
(shr-generic cont))
(while (re-search-backward "\n *$" nil t)
(delete-region (match-beginning 0) (match-end 0)))
(delete-region
(point)
(+ (point)
(skip-chars-backward " \t\n")))
(goto-char (point-min))
(let ((max 0))
(while (not (eobp))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment