unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 19587@debbugs.gnu.org
Subject: bug#19587: shr: produces an extra newline before a block element in <li />
Date: Fri, 25 Dec 2015 18:33:40 +0100	[thread overview]
Message-ID: <87h9j6zb4b.fsf@gnus.org> (raw)
In-Reply-To: <87k30qwm44.fsf@violet.siamics.net> (Ivan Shmakov's message of "Tue, 13 Jan 2015 18:50:51 +0000")

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	other threads:[~2015-12-25 17:33 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 [this message]
2015-12-26  9:12   ` Ivan Shmakov
2015-12-26 19:17     ` Ivan Shmakov
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=87h9j6zb4b.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19587@debbugs.gnu.org \
    --cc=ivan@siamics.net \
    /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).