From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-e-html: Including ATTR_HTML: title="hover text" Date: Thu, 07 Jun 2012 21:28:17 +0200 Message-ID: <87aa0egbvy.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SciQY-0000gp-Qa for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SciQW-0004vw-UJ for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:31:26 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:63094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SciQW-0004vE-KL for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 15:31:24 -0400 Received: by eekb47 with SMTP id b47so483556eek.0 for ; Thu, 07 Jun 2012 12:31:22 -0700 (PDT) In-Reply-To: (William Crandall's message of "Wed, 6 Jun 2012 19:08:10 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Crandall Cc: emacs-orgmode@gnu.org, Jambunathan K Hello, William Crandall 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: > > -------------------------------------------------- >

> A paragraph about >

>

> http://orgmode.org > exalting new emacs mode… >

> -------------------------------------------------- > > which is less grand. > > I see two needed fixes, reading > http://orgmode.org/org.html#Links-in-HTML-export > > 1. A new

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