* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): Don't
remove too much white space -- leave it on the last line (in
case there's a background color).
(defun shr--remove-blank-lines-at-the-end (start end)
(save-restriction
(save-excursion
- (current-buffer)
(narrow-to-region start end)
(goto-char end)
(when (and (re-search-backward "[^ \n]" nil t)
(not (eobp)))
- (forward-char 1)
- (delete-region (point) (point-max))
- (unless (bolp)
- (insert "\n"))))))
+ (forward-line 1)
+ (delete-region (point) (point-max))))))
(defun shr-copy-url (&optional image-url)
"Copy the URL under point to the kill ring.
*
-Lala
+Lala
\ No newline at end of file