* Hyperlinked Images with ox-html
@ 2013-07-10 3:22 Robert Eckl
2013-07-10 8:14 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Robert Eckl @ 2013-07-10 3:22 UTC (permalink / raw)
To: emacs-orgmode
Using Org-mode version 8.0.5 (release_8.0.5-429-gc31655
GNU Emacs 24.3.50
exporting this fragment
#+ATTR_HTML: :width 220px :align right [[http://orgmode.org/worg/][http://example.org/picture.jpg]]
gives
<div class="figure">
<p>
<a href="http://orgmode.org/worg"width="220px" align="right" >
<img src="http://example.org/picture.jpg" />
</a>
</p>
</div>
instead of
<div class="figure">
<p>
<a href="http://orgmode.org/worg">
<img src="http://example.org/picture.jpg" width="220px" align="right"/>
</a>
</p>
</div>
So the attributes for <img> are linked to <a> instead of <img> and
ignored.
What I'm missing?
TIA,
Robert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hyperlinked Images with ox-html
2013-07-10 3:22 Hyperlinked Images with ox-html Robert Eckl
@ 2013-07-10 8:14 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-07-10 8:14 UTC (permalink / raw)
To: eckl.r; +Cc: emacs-orgmode
Hello,
Robert Eckl <eckl.r@gmx.de> writes:
> exporting this fragment
>
> #+ATTR_HTML: :width 220px :align right [[http://orgmode.org/worg/][http://example.org/picture.jpg]]
>
> gives
>
> <div class="figure">
> <p>
> <a href="http://orgmode.org/worg"width="220px" align="right" >
> <img src="http://example.org/picture.jpg" />
> </a>
> </p>
> </div>
>
>
> instead of
>
> <div class="figure">
> <p>
> <a href="http://orgmode.org/worg">
> <img src="http://example.org/picture.jpg" width="220px" align="right"/>
> </a>
> </p>
> </div>
>
> So the attributes for <img> are linked to <a> instead of <img> and
> ignored.
This should now be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-10 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 3:22 Hyperlinked Images with ox-html Robert Eckl
2013-07-10 8:14 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).