emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Eckl <eckl.r@gmx.de>
To: emacs-orgmode@gnu.org
Subject: HTML-Export Images with #+ATTR_HTML: broken?
Date: Tue, 07 May 2013 18:26:53 +0200	[thread overview]
Message-ID: <m2ppx2ycvm.fsf@sachwertpartner.de> (raw)

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

             reply	other threads:[~2013-05-07 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 16:26 Robert Eckl [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ppx2ycvm.fsf@sachwertpartner.de \
    --to=eckl.r@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).