From: Ivan Shmakov <ivan@siamics.net>
To: 19587@debbugs.gnu.org
Subject: bug#19587: shr: produces an extra newline before a block element in <li />
Date: Sat, 26 Dec 2015 19:17:46 +0000 [thread overview]
Message-ID: <8737upxbmt.fsf@violet.siamics.net> (raw)
In-Reply-To: <87k2o1zi7p.fsf@violet.siamics.net> (Ivan Shmakov's message of "Sat, 26 Dec 2015 09:12:42 +0000")
[-- Attachment #1: Type: text/plain, Size: 934 bytes --]
>>>>> Ivan Shmakov <ivan@siamics.net> writes:
>>>>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>>>> Ivan Shmakov <ivan@siamics.net> writes:
>>> 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?
> I can no longer reproduce the bug as of 1dcf9a5d. An example
> HTML document is MIMEd just in case.
Correction: I still can reproduce this by using a <div />
element; consider the document MIMEd.
--
FSF associate member #7257 http://am-1.org/~ivan/ … 3013 B6A0 230E 334A
[-- Attachment #2: Type: text/html, Size: 195 bytes --]
next prev parent reply other threads:[~2015-12-26 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 18:50 bug#19587: shr: produces an extra newline before a block element in <li /> Ivan Shmakov
2015-12-25 17:33 ` Lars Ingebrigtsen
2015-12-26 9:12 ` Ivan Shmakov
2015-12-26 19:17 ` Ivan Shmakov [this message]
2016-02-29 7:07 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737upxbmt.fsf@violet.siamics.net \
--to=ivan@siamics.net \
--cc=19587@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).