From: Eric Schulte <schulte.eric@gmail.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: HTML lists are including paragraphs (<li><p>…</p></li>)
Date: Tue, 05 Aug 2014 08:06:50 -0400 [thread overview]
Message-ID: <87egwvdtt1.fsf@gmail.com> (raw)
In-Reply-To: <87ppgg26wd.wl%n142857@gmail.com> (Daniel Clemente's message of "Mon, 04 Aug 2014 11:52:34 +0700")
The code which checks to ensure that paragraph wrappers are only
inhibited if they are inhibited for the whole list mistakenly keeps
paragraph wrappers if one item of the list is itself a list
The location of this bug is the (cdr contents) in line 2899 of
ox-html.el. I'd be inclined to remove this form, but I'm not sure what
valid case it checks for.
Best,
Eric
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>
>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D (see https://u.fsf.org/yw)
next prev parent reply other threads:[~2014-08-05 12:07 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
2014-08-05 12:06 ` Eric Schulte [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egwvdtt1.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.