emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam <noorul@noorul.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-exp.el: Broken Internal Links
Date: Sat, 30 Oct 2010 09:25:09 +0530	[thread overview]
Message-ID: <AANLkTik708_JMxicXbk0mndw3LrdgO+9kdwGqbt2OAQp@mail.gmail.com> (raw)
In-Reply-To: <81pqusn113.fsf@gmail.com>

On Sat, Oct 30, 2010 at 2:56 AM, Jambunathan K <kjambunathan@gmail.com> wrote:
>
> 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
>  <p>
>    Link to <a href="#sec-1">Heading1</a> is OK.  Link to
>    <a href="#sec-2">Heading3</a> is broken. To fix this, org-link-search
>    in org-export-target-internal-links should avoid matching on the
>    self somehow.
>  </p>
> #+end_src
>
>

But this is what I get

<p>
Link to <a href="#sec-1">Heading1</a> is OK. Link to <a
href="#sec-3">Heading3</a> is broken. To fix this,
org-link-search in org-export-target-internal-links should avoid
matching on the self somehow.
</p>


Thanks and Regards
Noorul

      reply	other threads:[~2010-10-30  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 21:26 [BUG] org-exp.el: Broken Internal Links Jambunathan K
2010-10-30  3:55 ` Noorul Islam [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTik708_JMxicXbk0mndw3LrdgO+9kdwGqbt2OAQp@mail.gmail.com \
    --to=noorul@noorul.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).