bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19587: shr: produces an extra newline before a block element in <li


From: Lars Ingebrigtsen
Subject: bug#19587: shr: produces an extra newline before a block element in <li />
Date: Fri, 25 Dec 2015 18:33:40 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

Ivan Shmakov <ivan@siamics.net> writes:

> Package:  emacs
> Severity: minor
>
>       As of ec7605b4b137 (2015-01-10 16:54:24 +0000), shr produces an
>       extra newline before a “block” element which is the first child
>       to a <li /> element.  Consider, e. g.:
>
> (with-temp-buffer
>   (let ((r
>          (shr-tag-ul
>           '(ul nil
>                (li nil (div nil "One item."))
>                (li nil (div nil "Another item."))))))
>     (cons r (buffer-string))))

Do you have HTML that demonstrates this problem?  The forms no longer
work since the DOM changed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]