From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: ox-html export bug Date: Fri, 08 Sep 2017 10:55:40 +0200 Message-ID: <8760cto9gz.fsf@gmx.us> References: <87mv66xvlr.fsf@nicolasgoaziou.fr> <0463b497-7f6b-b5c2-005b-25412ba80fba@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqF5W-0005zL-GT for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 04:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqF5S-0006bv-3I for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 04:56:34 -0400 Received: from [195.159.176.226] (port=33226 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqF5R-0006aZ-SF for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 04:56:30 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dqF55-0007Yu-1H for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 10:56:07 +0200 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: emacs-orgmode@gnu.org kadal writes: > The problem is that if you have CSS that decorates links by adding > content after a link, that (empty) link gets decorated too. Fair point. Would it be sufficient to give these type of links a class, say "org-internal-links". Then you should be able to explicitly turn off the content for these links. .org-internal-links::after {content:"";} > Is it possible to remove it? You could use a filter to remove empty links just after headings. See ‘org-export-filter-headline-functions’ and ‘org-export-derived-backend-p’. Rasmus -- Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio