From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: PATCH: Extract HTML attributes from link if present Date: Sat, 08 Dec 2018 21:22:17 +0100 Message-ID: <877egjg45i.fsf@nicolasgoaziou.fr> References: <87zhtgf15z.fsf@informationelle-selbstbestimmung-im-internet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVj7M-0007H2-40 for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 15:22:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVj7H-0000hA-6X for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 15:22:28 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:56805) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVj7G-0000g1-VD for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 15:22:23 -0500 In-Reply-To: <87zhtgf15z.fsf@informationelle-selbstbestimmung-im-internet.de> (Jens Lechtenboerger's message of "Sat, 08 Dec 2018 17:12:08 +0100") 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: Jens Lechtenboerger Cc: emacs-orgmode@gnu.org Hello, Jens Lechtenboerger writes: > for HTML export, attributes are added to links with what is called a > =E2=80=9CHACK=E2=80=9D in a comment in ox-html.el: Attribute :attr_html i= s read from > the parent, to be transferred to the first link. > > That mechanism can used to assign attributes to the first link in > each paragraph/sentence. For org-reveal, I would like to assign > computed classes to links in general (several per paragraph). The > attached patch extends the current functionality to add attributes > of the link to those of the parent. Applied. Thank you. Regards, --=20 Nicolas Goaziou