From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#19587: shr: produces an extra newline before a block element in
  • Date: Sat, 26 Dec 2015 09:12:42 +0000 Message-ID: <87k2o1zi7p.fsf@violet.siamics.net> References: <87k30qwm44.fsf@violet.siamics.net> <87h9j6zb4b.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1451121216 30003 80.91.229.3 (26 Dec 2015 09:13:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2015 09:13:36 +0000 (UTC) To: 19587@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 10:13:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCkuc-0003lf-09 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 10:13:18 +0100 Original-Received: from localhost ([::1]:37962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCkuW-0001GN-77 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 04:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCkuP-0001GH-O1 for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 04:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCkuL-00066k-Um for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 04:13:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCkuL-00066e-Qx for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 04:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCkuL-0001Dc-NB for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 04:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2015 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19587-submit@debbugs.gnu.org id=B19587.14511211784675 (code B ref 19587); Sat, 26 Dec 2015 09:13:01 +0000 Original-Received: (at 19587) by debbugs.gnu.org; 26 Dec 2015 09:12:58 +0000 Original-Received: from localhost ([127.0.0.1]:36741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCkuF-0001DI-0W for submit@debbugs.gnu.org; Sat, 26 Dec 2015 04:12:58 -0500 Original-Received: from fely.am-1.org ([78.47.74.50]:60319) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCkuA-0001D7-GS for 19587@debbugs.gnu.org; Sat, 26 Dec 2015 04:12:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=/QOfdp6SAp/uzxdxtS9ff0zC3lbLc5mhnZBq7ycrjyU=; b=K7qext67GL786wzMpzv2zqcf14YDfjU1PqgQkb2/VdO26yAo5aAq/p25Jhm6RxXUPeFwTU98AnZ2yuLfBKlb8i3ksAGThEWAYLBL1MpL1N5tx29PPgizCkTmiZnXQh9EDydVn1qhb4Yyu2YbU8bFCSqpzLNXOSKyuUgP4GiE2H0=; Original-Received: from violet.siamics.net ([2001:470:1f13:1eb::1:1d]) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aCku9-0000Wa-UD for 19587@debbugs.gnu.org; Sat, 26 Dec 2015 09:12:50 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aCku3-0000Yp-52 for 19587@debbugs.gnu.org; Sat, 26 Dec 2015 16:12:43 +0700 In-Reply-To: <87h9j6zb4b.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2015 18:33:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110587 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Lars Ingebrigtsen writes: >>>>> Ivan Shmakov writes: >> As of ec7605b4b137 (2015-01-10 16:54:24 +0000), shr produces an >> extra newline before a =E2=80=9Cblock=E2=80=9D element which is the fir= st child to a >>
  • 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. > The forms no longer work since the DOM changed. ? --=20 FSF associate member #7257 http://am-1.org/~ivan/ =E2=80=A6 3013 B6A0= 230E 334A --=-=-= Content-Type: text/html Content-Disposition: inline Hello, world! --=-=-=--