Sean Whitton <s...@silentflame.com> writes:

> Another fanatical Org-mode convert new to the list.  Following the
> 'advice' of [1] I am attempting to generate my personal website using
> Org publishing, but I'm running up against a pretty weird bug when I try
> to export inline images.  The code gets rendered so that the HTML
> appears in the browser literally; hitting view-source, instead of
>
> <img src="img/avi.gif" alt="img/avi.gif" />
>
> Org seems to be outputting
>
> &lt;img src="img/avi.gif"  alt="img/avi.gif" /&gt;
>
> which obviously doesn't appear as an image.
>
> The code in the org file is just [[file:img/avi.gif]].
>
> Any idea why this might be?  Publishing configuration follows.[2]
> Excited about what I can do with Org publishing; thanks in advance for
> any assistance.
>
> S
>
> [1] 
> http://mph.puddingbowl.org/2010/02/org-mode-in-your-pocket-is-a-gnu-shaped-devil/
>
> [2] From my Org init file.  Sitemap is published seperately so that I can
> apply body-only so that it can be included with SSI.  This works very
> well.

Hi Sean,

Welcome to the list!

This works for me.  I think there was a bug like this in a recent
release.  What version of org-mode are you using?

Mine exports as follows

--8<---------------cut here---------------start------------->8---
* Test export
[[file:img/avi.gif]]
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
...
<p><img src="img/avi.gif"  alt="img/avi.gif" />
</p>
...
--8<---------------cut here---------------end--------------->8---

Maybe try upgrading to the latest development snapshot of org?

I'm using Org-mode version 7.5 (release_7.5.115.g00134)

Regards,
-- 
Bernt

Reply via email to