From: Daniel Clemente <n142857@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>,
org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: HTML lists are including paragraphs (<li><p>…</p></li>)
Date: Tue, 26 Aug 2014 14:36:05 +0700 [thread overview]
Message-ID: <87sikjsnx6.wl-n142857@gmail.com> (raw)
In-Reply-To: <874mx155uk.fsf@nicolasgoaziou.fr>
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>
next prev parent reply other threads:[~2014-08-26 7:36 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
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 [this message]
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=87sikjsnx6.wl-n142857@gmail.com \
--to=n142857@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).