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


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to