From mboxrd@z Thu Jan 1 00:00:00 1970 From: timor Subject: HTML Export of Links to Source Blocks seems broken Date: Thu, 16 Jun 2016 12:18:28 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDUNb-0002ZM-Pn for emacs-orgmode@gnu.org; Thu, 16 Jun 2016 06:18:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDUNZ-0007Fs-NZ for emacs-orgmode@gnu.org; Thu, 16 Jun 2016 06:18:30 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDUNZ-0007Ey-GG for emacs-orgmode@gnu.org; Thu, 16 Jun 2016 06:18:29 -0400 Received: by mail-wm0-x22c.google.com with SMTP id v199so185811972wmv.0 for ; Thu, 16 Jun 2016 03:18:29 -0700 (PDT) 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 Hello, considering the following example: -------------------------------------- #+NAME: test_fun #+BEGIN_SRC js function test_fun() { } #+END_SRC Link to [[test_fun]] #+NAME: another_test_fun #+BEGIN_SRC js function another_test_fun() { } #+END_SRC Link to [[another_test_fun]] ----------------------------------------- the exported html code creates to tags, like this: ------------------------------------ Link to 1 ------------------------------------ and this: ------------------------------------ Link to 1 ------------------------------------ Is that behavior desired? I would expect the link text to actually spell "test_fun" and "another_test_fun" in this case, since those are the names of the source blocks. As a workaround, is there anywhere in the exporter that I could hook into to change the link text myself? (org version 8.3.4) Regads, timor