From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [BUG] org-exp.el: Broken Internal Links Date: Sat, 30 Oct 2010 02:56:32 +0530 Message-ID: <81pqusn113.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBwTI-0004hZ-Gc for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 17:26:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBwTG-0001IH-DO for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 17:26:48 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:53833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBwTG-0001I6-9n for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 17:26:46 -0400 Received: by iwn38 with SMTP id 38so3484454iwn.0 for ; Fri, 29 Oct 2010 14:26:45 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org See Heading2 for description of the bug. This bug has been there since time immemorial. # Input Org file * Heading1 * Heading2 Link to [[Heading1]] is OK. Link to [[Heading3]] is broken. To fix this, org-link-search in org-export-target-internal-links should avoid matching on the self somehow. * Heading3 # Buggy HTML Output #+begin_src html

Link to Heading1 is OK. Link to Heading3 is broken. To fix this, org-link-search in org-export-target-internal-links should avoid matching on the self somehow.

#+end_src Jambunathan K.