[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] #+HTML blocks
From: |
Bastien |
Subject: |
[Orgmode] #+HTML blocks |
Date: |
Tue, 22 May 2007 03:03:48 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
Hi again,
,----
| #+HTML:<div style="float: right;">
| [[file:image.jpg][file:image.jpg]]
| #+HTML:</div>
`----
is converted like this :
,----
| <div style="float: right;">
| <p>
| <img src="images/bentolila.jpg"/>
| </div>
| </p>
`----
... mixing <div> and <p> in the wrong order.
An easy (but not obvious) way to circumvent this is to insert a blank
line after and before the #+HTML line. For example:
,----
| #+HTML:<div style="float: right;">
|
| [[file:images/bentolila.jpg][file:images/bentolila.jpg]]
|
| #+HTML:</div>
`----
... is gets converted as :
,----
| <div style="float: right;">
|
| <p>
| <img src="images/bentolila.jpg"/>
| </p>
|
|
| </div>
`----
... where the tags order is correct.
--
Bastien
- [Orgmode] #+HTML blocks,
Bastien <=