From: Lars Magne Ingebrigtsen Date: Mon, 4 Oct 2010 09:14:41 +0000 (+0200) Subject: (shr-ensure-paragraph): Fix the non-empty line case. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=4fa25440c535e7696a12461aaeee85cb8044ce8a;hp=9a760fc0be4082226736f33aad42a512254769f6 (shr-ensure-paragraph): Fix the non-empty line case. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2477219f9..f365ced85 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-10-04 Lars Magne Ingebrigtsen + + * shr.el (shr-ensure-paragraph): Fix the non-empty line case. + 2010-10-04 Julien Danjou * gnus-html.el (gnus-html-put-image): Fix resize image code. diff --git a/lisp/shr.el b/lisp/shr.el index 118afe2f3..bfcb91e08 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -101,7 +101,7 @@ fit these criteria." (insert "\n")) (if (save-excursion (beginning-of-line) - (looking-at " *")) + (looking-at " *$")) (insert "\n") (insert "\n\n")))))