From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id za3eKq7T6F9HKQAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 18:34:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UAJLJq7T6F/ZVAAA1q6Kng (envelope-from ) for ; Sun, 27 Dec 2020 18:34:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2E7BE940149 for ; Sun, 27 Dec 2020 18:34:22 +0000 (UTC) Received: from localhost ([::1]:57538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktarz-0005JS-9z for larch@yhetil.org; Sun, 27 Dec 2020 13:34:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktarZ-0005JJ-Ty for emacs-orgmode@gnu.org; Sun, 27 Dec 2020 13:33:53 -0500 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:46603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktarY-0005mY-CO for emacs-orgmode@gnu.org; Sun, 27 Dec 2020 13:33:53 -0500 Received: by mail-ot1-x332.google.com with SMTP id w3so7489301otp.13 for ; Sun, 27 Dec 2020 10:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DbeFnkcl/4GuUybfLSJmhDPk2GQBOPXmlCEiIkpGaoQ=; b=KqUSM6dbMKrf+98vrPy0wZiMnpg9QE++9+TZrqFcNuyUp5+5yT3OavrOhGvsqeoaJi AtuNZSjX9GxQk147GPZoXBYvAouXTvEreAahtRrjxFVbDKDP9IcOUTtQffB3wjfl7iAs jELTsvNrZ5cmSg3Yr8tFNqVvklvUXqvvf6RHNr+haRoVyaiMTfc8mDut63E/qenkMZSq LQK3cfw71BUhSn8WZHNhJv1ca7UIRupVYbw3bnsOQaokpL2GhRWYtaGHUISZg+2Xl1TS BjAa8NBCyFct/k+zXv67hMord8DVfytVt9yxdvmJOxBtTafdjxQfPErK4zxxPpri/wKo 2ymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DbeFnkcl/4GuUybfLSJmhDPk2GQBOPXmlCEiIkpGaoQ=; b=pnkp5KNvMwbd75Kpp3hLsolFiD/PqdHSYbXcupCEwJFgfovC9P/87hXyqoMhOJNB29 NZfAfAi90FSqHJ5twjhghCsuJK3+hRi81EU+vybVETzkhgv6DOFZNfcl79MNoCdMMZyl a6+wgHhel0KPcXjw0zD2SpQKwZEpD56tJgaEzqVsLGJnaIEE+mttJI7FhQyOuu9Xy72D +ALAI7MYHklMxCcNnkG2vgJU5kmKRkbS6uWConNefeY+QTG8O8QgKHEdVlaw208W3zkm c7ma22N03HhV3KhvRwJBc/sn7B06Kk2qzUGlbsUs/xi7EOLlugElK1YSQPLnYNZtXOR7 2I6w== X-Gm-Message-State: AOAM531OMKqVZnWXDgmdk4AcFfnHUeHGjG/8F8e1AxrK6Dm93rn4TqRi afwJQXblmimLvTFoi4SaX80kQxWOCnm4EaBc5Uo= X-Google-Smtp-Source: ABdhPJwXeUL6osOwzfMifIXaXhCsMPDn+zH6PrOLNCvFJ2pYpEtbNK25IORtM/kdWGYCpu0YK8/bd9/WFl1gt9ajkuo= X-Received: by 2002:a9d:75d4:: with SMTP id c20mr16698842otl.311.1609094031102; Sun, 27 Dec 2020 10:33:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kashyap Chamarthy Date: Sun, 27 Dec 2020 19:33:39 +0100 Message-ID: Subject: Re: A way to avoid unwanted new lines when using paragraph quotes? To: Diego Zamboni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=kashyap.cv@gmail.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=KqUSM6db; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2E7BE940149 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: feAhUkMbk1RT On Sun, Dec 27, 2020 at 4:53 PM Diego Zamboni wrote: > > Hi Kashyap, Hi, Diego > The problem seems to be that when the HTML exporter finds more than one e= lement within a list item, it wraps each one in its own set of =3D

...=3D tags, which creates the additional space. You can see that this has no= thing to do with the quotes, just inserting a second paragraph within the l= ist item triggers this, e.g.: Ah, I see. So it's any element within a list item that's wrapped in paragraph tags. > ------ > 3. Test 3 > - sub bullet under test 3, with a quote: > > another paragraph within the bullet > ------ > > As Juan Manuel suggested, one way to fix the visual difference is with CS= S. To be more selective, you could style only

items with a

  • , like t= his: > > #+HTML_HEAD: Hmm, that fixes the new line before the "sub bullet under test 3, with a quote". However, a new line still remains after the quote ends (and before the "Test 4" starts). Is it possible to nuke that too? If not, that's okay, I can live with it. :-) > In my test, this eliminates the spacing before those items, making them a= ll look the same in the browser. > > Looking at the ox-html code, there doesn't seem to be a way to prevent th= is from happening at the moment, a plain paragraph is always wrapped in

    = tags. Thanks for taking the time to look at the code. [...] /kashyap