]> git.eshelyaron.com Git - emacs.git/commitdiff
Make <div> in <li> not insert extra newlines
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Feb 2016 07:06:36 +0000 (18:06 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Feb 2016 07:06:36 +0000 (18:06 +1100)
* lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
extra newlines (bug#19587).

lisp/net/shr.el

index 6e6a4233361a60ac75a96cdfec3238c7c8805b5f..63e02d988ef0dbf43e6693672474685ab45ffb48 100644 (file)
@@ -1257,7 +1257,7 @@ ones, in case fg and bg are nil."
   (shr-ensure-paragraph))
 
 (defun shr-tag-div (dom)
-  (shr-ensure-newline)
+  (shr-ensure-paragraph)
   (shr-generic dom)
   (shr-ensure-newline))