emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] HTML lists are including paragraphs (<li><p>…</p></li>)


From: Nick Dokos
Subject: Re: [O] HTML lists are including paragraphs (<li><p>…</p></li>)
Date: Mon, 04 Aug 2014 15:25:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Daniel Clemente <address@hidden> 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 <address@hidden>
| 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]