emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-e-html: Including ATTR_HTML: title="hover text"
@ 2012-06-07  2:08 William Crandall
  2012-06-07  2:59 ` William Crandall
  2012-06-07 19:28 ` Nicolas Goaziou
  0 siblings, 2 replies; 11+ messages in thread
From: William Crandall @ 2012-06-07  2:08 UTC (permalink / raw)
  To: Nicolas Goaziou, Jambunathan K; +Cc: emacs-orgmode

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

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

end of thread, other threads:[~2012-06-14  9:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-07  2:08 org-e-html: Including ATTR_HTML: title="hover text" William Crandall
2012-06-07  2:59 ` William Crandall
2012-06-07 19:28 ` Nicolas Goaziou
2012-06-07 22:26   ` William Crandall
2012-06-08 13:28     ` Nicolas Goaziou
2012-06-08 17:03       ` William Crandall
2012-06-08 22:37         ` Nicolas Goaziou
2012-06-08 23:53           ` William Crandall
2012-06-09 13:54             ` Nicolas Goaziou
2012-06-10  1:43               ` William Crandall
2012-06-14  9:51                 ` 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).