From mboxrd@z Thu Jan 1 00:00:00 1970 From: kadal Subject: Re: ox-html export bug Date: Thu, 7 Sep 2017 11:04:54 -0700 Message-ID: <0463b497-7f6b-b5c2-005b-25412ba80fba@gmail.com> References: <87mv66xvlr.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq1Ak-0004Yg-LX for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 14:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq1Af-0005yV-QR for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 14:05:02 -0400 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:34416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dq1Af-0005yG-KA for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 14:04:57 -0400 Received: by mail-pg0-x235.google.com with SMTP id q68so816826pgq.1 for ; Thu, 07 Sep 2017 11:04:57 -0700 (PDT) In-Reply-To: <87mv66xvlr.fsf@nicolasgoaziou.fr> Content-Language: en-GB 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org The problem is that if you have CSS that decorates links by adding content after a link, that (empty) link gets decorated too. Is it possible to remove it? There is no such empty link for the first heading which does not have CUSTOM_ID set. Deepak On 09/07/2017 10:32 AM, Nicolas Goaziou wrote: > Hello, > > kadal writes: > >> This org file >> >> ------------------------- >> * heading 1 >> * heading 2 >> :PROPERTIES: >> :CUSTOM_ID: my-name >> :END: >> >> -------------------------------- >> >> exports to >> >> ----------------------------------- >>
>>

1 heading 1

>>
>> >>
>>

> class="section-number-2">2 heading 2

>> >>
>>
>> ----------------------------------------------- >> >> The "" for the second heading is unnecessary. >> Seems to only occur when CUSTOM_ID is set. > > It is the internal reference for "my-name" custom ID. > > Regards, >