emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML-Export Images with #+ATTR_HTML: broken?
@ 2013-05-07 16:26 Robert Eckl
  2013-05-07 16:56 ` [PATCH] ox-html: Ensure space between tag and attribute when closing tags Lawrence Mitchell
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Eckl @ 2013-05-07 16:26 UTC (permalink / raw)
  To: emacs-orgmode

With Org-mode version 8.0.2 (release_8.0.2-91-g29ab1b )
the html-Exporter seems to ommit a space after the img-Tag

#+begin_src orgmode
* Test HTML-Export images
#+ATTR_HTML:  :width  440px 
 [[orgmode.org][http://orgmode.org/img/org-mode-unicorn-logo.png]]

** ohne Verlinkung
#+ATTR_HTML:  :width  220px 
[[http://orgmode.org/img/org-mode-unicorn-logo.png]]
#+end_src

results in

...
#+begin_src html
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Test HTML-Export images</h2>
<div class="outline-text-2" id="text-1">
<p>
<i><imgwidth="440px" src="http://orgmode.org/img/org-mode-unicorn-logo.png" alt="org-mode-unicorn-logo.png" /></i>
</p>
</div>

<div id="outline-container-sec-1-1" class="outline-3">
<h3 id="sec-1-1"><span class="section-number-3">1.1</span> ohne Verlinkung</h3>
<div class="outline-text-3" id="text-1-1">

<div class="figure">
<p><imgwidth="220px" src="http://orgmode.org/img/org-mode-unicorn-logo.png" alt="org-mode-unicorn-logo.png" /></p>
</div>
#+end_src
...

The space between "img" and the attribute "width" is missing.

Cu,

Robert

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-07 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 16:26 HTML-Export Images with #+ATTR_HTML: broken? Robert Eckl
2013-05-07 16:56 ` [PATCH] ox-html: Ensure space between tag and attribute when closing tags Lawrence Mitchell
2013-05-07 19:50   ` Bastien
2013-05-07 17:58     ` Lawrence Mitchell
2013-05-07 20:05       ` Bastien

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).