(shr-ensure-paragraph): Fix the non-empty line case.
[gnus] / lisp / shr.el
index 118afe2..bfcb91e 100644 (file)
@@ -101,7 +101,7 @@ fit these criteria."
          (insert "\n"))
       (if (save-excursion
            (beginning-of-line)
-           (looking-at " *"))
+           (looking-at " *$"))
          (insert "\n")
        (insert "\n\n")))))