From 4fa25440c535e7696a12461aaeee85cb8044ce8a Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 4 Oct 2010 11:14:41 +0200 Subject: [PATCH] (shr-ensure-paragraph): Fix the non-empty line case. --- lisp/ChangeLog | 4 ++++ lisp/shr.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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"))))) -- 2.25.1