emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-e-html: Including ATTR_HTML: title="hover text"


From: William Crandall
Subject: [O] org-e-html: Including ATTR_HTML: title="hover text"
Date: Wed, 6 Jun 2012 19:08:10 -0700

Hello Jambunathan and Nicolas,

If org-mode source text is:

--------------------------------------------------
A paragraph about
#+ATTR_HTML: title="Link hover text"
[[http://orgmode.org]]
exalting new emacs mode...
--------------------------------------------------


"M-x org-export h" generates:

--------------------------------------------------
<p>
A paragraph about
<a href="http://orgmode.org"; title="Link hover text">http://orgmode.org</a>
exalting new emacs mode&hellip;
</p>
--------------------------------------------------

which is grand.


"M-x org-export-dispatch h" generates:

--------------------------------------------------
<p>
A paragraph about
</p>
<p>
<a href="http://orgmode.org";>http://orgmode.org</a>
exalting new emacs mode&hellip;
</p>
--------------------------------------------------

which is less grand.


I see two needed fixes, reading
http://orgmode.org/org.html#Links-in-HTML-export

1. A new </p><p> should not be inserted before
   lines starting #+ATTR_HTML.

2. The title attribute needs to go into the <a> link.


Thanks again!

-BC

Org-mode: 7.8.11 (release_7.8.11-52-g451191)
Emacs: 24.1.50.1
Windows 7



reply via email to

[Prev in Thread] Current Thread [Next in Thread]