From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Eric Schulte <schulte.eric@gmail.com>
Subject: Re: HTML lists are including paragraphs (<li><p>…</p></li>)
Date: Mon, 04 Aug 2014 15:25:24 -0400 [thread overview]
Message-ID: <8738dc3vmj.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 87ppgg26wd.wl%n142857@gmail.com
Daniel Clemente <n142857@gmail.com> writes:
> Hi. With latest org I'm getting <li><p>…</p></li>, which makes no sense; it should be <li>…</li>
> Aren't there tests to find this type of breakages in export?
>
>
> Example:
>
> - hola
> - uno
> - dos
> - tres
>
>
> Is exported to:
>
>
> <ul class="org-ul">
> <li><p>
> hola
> </p>
> </li>
> <li><p>
> uno
> </p>
> <ul class="org-ul">
> <li>dos
> </li>
> </ul>
> </li>
> <li><p>
> tres
> </p>
> </li>
> </ul>
Confirmed. Bisection fingers this commit:
,----
| 1c3bdbb80a143664ca719a8a8b439390c42e28a2 is the first bad commit
| commit 1c3bdbb80a143664ca719a8a8b439390c42e28a2
| Author: Eric Schulte <schulte.eric@gmail.com>
| Date: Mon Jun 23 17:33:18 2014 -0400
|
| inhibit <p> wraps on a whole-list basis
|
| * lisp/ox-html.el (org-html-paragraph): Extend the special case of
| inhibiting <p> wrappers to only perform such inhibition when *every*
| element of the list is a single paragraph long. Otherwise unsightly
| spacing results.
`----
--
Nick
next prev parent reply other threads:[~2014-08-04 19:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 4:52 HTML lists are including paragraphs (<li><p>…</p></li>) Daniel Clemente
2014-08-04 19:25 ` Nick Dokos [this message]
2014-08-05 12:06 ` Eric Schulte
2014-08-06 12:12 ` Nicolas Goaziou
2014-08-25 7:48 ` Daniel Clemente
2014-08-25 8:30 ` Nicolas Goaziou
2014-08-26 7:36 ` Daniel Clemente
2014-08-26 7:59 ` Nicolas Goaziou
2014-08-27 14:50 ` Daniel Clemente
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738dc3vmj.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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/org-mode.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).