Hello, William Crandall <bc3141...@gmail.com> writes:
> 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-dispatch h" generates: > > -------------------------------------------------- > <p> > A paragraph about > </p> > <p> > <a href="http://orgmode.org">http://orgmode.org</a> > exalting new emacs mode… > </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. It sure should: you're starting a new paragraph containing a link and "exalting new emacs mode..." text. ATTR_HTML is an attribute for paragraphs, not links (though it may apply on links within the paragraph). You may want to add your title attribute with filters. Regards, -- Nicolas Goaziou