El Mon, 25 Aug 2014 10:30:27 +0200 Nicolas Goaziou va escriure:

> >   But why not, as a general rule, avoid <p> for the first elements of 
> > lists? That is, don't output paragraph+list+paragraph, but 
> > text+list+paragraph.
> >   This works for the simple case (<li>text</li>) and allows the
> >   complex ones (<li>text<p>aa</p><ol></ol><whatever></whatever></li>).
> 
> This was the original behaviour, which was, apparently, unsatisfactory.
> See
> 
>   http://article.gmane.org/gmane.emacs.orgmode/87898
> 
> 

  Ok, let's keep the complex cases possible, but the simple ones simple. So:
- <li>text</li> and <li>text<ul/></li> if there's only 1 text or sublist or 
text+sublist
- <li>[normal flow including p,ol,ul,blockquote,…]</li> in the rest. This 
includes <li><p/><p/></li>, <li><p/><ol/><p/></li>, <li><ol><p/></li>, 
<li><p/><p/><ol/></li>


Reply via email to