(shr-tag-blockquote): Ensure paragraphs after </ul>.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 7 Oct 2010 14:40:14 +0000 (16:40 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 7 Oct 2010 14:40:14 +0000 (16:40 +0200)
lisp/ChangeLog
lisp/shr.el

index 86a2c65..60ecd36 100644 (file)
@@ -5,6 +5,7 @@
        (shr-insert): Rework the line-breaking algorithm.
        (shr-insert): Don't leave trailing spaces.
        (shr-insert-table): Also insert empty TDs.
+       (shr-tag-blockquote): Ensure paragraphs after </ul>.
 
 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index ff3474c..4d62ba3 100644 (file)
@@ -404,11 +404,14 @@ Return a string with image data."
 (defun shr-tag-ul (cont)
   (shr-ensure-paragraph)
   (let ((shr-list-mode 'ul))
-    (shr-generic cont)))
+    (shr-generic cont))
+  (shr-ensure-paragraph))
 
 (defun shr-tag-ol (cont)
+  (shr-ensure-paragraph)
   (let ((shr-list-mode 1))
-    (shr-generic cont)))
+    (shr-generic cont))
+  (shr-ensure-paragraph))
 
 (defun shr-tag-li (cont)
   (shr-ensure-newline)