aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/shr.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 07fcbebce08..2c8ff79763f 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1480,6 +1480,10 @@ The preference is a float determined from `shr-prefer-media-type'."
1480 (shr-ensure-paragraph) 1480 (shr-ensure-paragraph)
1481 (let ((shr-list-mode 'ul)) 1481 (let ((shr-list-mode 'ul))
1482 (shr-generic dom)) 1482 (shr-generic dom))
1483 ;; If we end on an empty <li>, then make sure we really end on a new
1484 ;; paragraph.
1485 (unless (bolp)
1486 (insert "\n"))
1483 (shr-ensure-paragraph)) 1487 (shr-ensure-paragraph))
1484 1488
1485(defun shr-tag-ol (dom) 1489(defun shr-tag-ol (dom)