I guess there should not even be around the image.
However, fixing this is a nighmare, as is the whole html exporter
sometimes. Very difficult to maintain - sometimes I think it
needs re-writing from scratch. Unfortunately, its hard to find the
time, and besides the exporter works reasonably
For some reason this reminds me of a feature from the outliner hnb.
If you used it as an xml editor you could do something like the
following.
-
content in tag
The close tag was implied by the outline structure. I don't know if
something similar would work well with how folks use org-mode.
Hi again,
,
| #+HTML:
| [[file:image.jpg][file:image.jpg]]
| #+HTML:
`
is converted like this :
,
|
|
|
|
|
`
... mixing and 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:
,