From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Literal HTML export and paragraphs
Date: Tue, 23 Feb 2010 13:58:21 +0100 [thread overview]
Message-ID: <zf.upnd3zwyuqa.fsf@zeitform.de> (raw)
Hi,
not quite sure if that's a bug but I've just noticed that literal HTML
export with `#+HTML' or `#+BEGIN_HTML ...' suppresses paragraph markups
whenever literal export appears at the end of a paragraph. An org file
like this
,----
| line 1
| line 2
|
| line 3
`----
is exported to
,----
| <p>
| line 1
| line 2
| </p>
| <p>
| line 3
| </p>
`----
while an org file like this
,----
| line 1
| #+HTML: <strong>line 2</strong>
|
| line 3
`----
is exported to
,----
| <p>
| line 1
| <strong>line 2</strong>
|
| line 3
| </p>
`----
This is probably not a major thing but it may lead to invalid HTML code.
Suppose `line 3' is replaced by e.g. an example block (which inserts its
own p element) then a p element would appear inside another p element
which is not allowed.
Ulf
next reply other threads:[~2010-02-23 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 12:58 Ulf Stegemann [this message]
2010-03-29 9:51 ` Literal HTML export and paragraphs Carsten Dominik
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=zf.upnd3zwyuqa.fsf@zeitform.de \
--to=ulf-news@zeitform.de \
--cc=emacs-orgmode@gnu.org \
/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).