all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Literal HTML export and paragraphs
@ 2010-02-23 12:58 Ulf Stegemann
  2010-03-29  9:51 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Stegemann @ 2010-02-23 12:58 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-29 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-23 12:58 Literal HTML export and paragraphs Ulf Stegemann
2010-03-29  9:51 ` Carsten Dominik

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.