emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-exp.el: Broken Internal Links
@ 2010-10-29 21:26 Jambunathan K
  2010-10-30  3:55 ` Noorul Islam
  0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2010-10-29 21:26 UTC (permalink / raw)
  To: emacs-orgmode


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


Jambunathan K.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] org-exp.el: Broken Internal Links
  2010-10-29 21:26 [BUG] org-exp.el: Broken Internal Links Jambunathan K
@ 2010-10-30  3:55 ` Noorul Islam
  0 siblings, 0 replies; 2+ messages in thread
From: Noorul Islam @ 2010-10-30  3:55 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-30  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29 21:26 [BUG] org-exp.el: Broken Internal Links Jambunathan K
2010-10-30  3:55 ` Noorul Islam

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).