emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Question regarding link text in HTML export
Date: Wed, 24 Apr 2013 09:37:57 +0200	[thread overview]
Message-ID: <8638ugl6p6.fsf@somewhere.org> (raw)
In-Reply-To: 87txmw9z3m.fsf@gmail.com

Hello Nicolas,

Nicolas Goaziou wrote:
> Erik Hetzner <egh-r1v5srsr4wc@public.gmane.org> writes:
>> When trying to export the following org file as HTML (C-e h o), using
>> out of the box latest org-mode:
>> ```
>> * Foo
>>   :ID:       aaccd0f3-3eff-4f38-ad83-bc51b8444d73
>>   :END:
>> * Bar
>>   :ID:       0a428695-b829-4f8b-a689-1bc22491d13f
>>   :END:
>> Link to [[id:aaccd0f3-3eff-4f38-ad83-bc51b8444d73][Foo]].

>> ```
>> the HTML looks like:
>>   ...
>>   Link to 1.
>> while I would expect it to say: “Link to Foo.”.
>> If I change the link text to anything other than “Foo”, e.g.,
>> [[id:aaccd0f3-3eff-4f38-ad83-bc51b8444d73][Baz]],
>> the link text is as expected.
>> This seems like a bug to me, but I may be mistaken! Thanks for any
>> help you can provide.
> This is not a bug. This is how cross references work: any link to an
> internal target without a description will become a number referring to
> the target. It works for headlines and many other things,

He does well have a description part, doesn't he?

Best regards,

Sebastien Vauban

  reply	other threads:[~2013-04-24  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  5:39 Question regarding link text in HTML export Erik Hetzner
2013-04-24  7:17 ` Nicolas Goaziou
2013-04-24  7:37   ` Sebastien Vauban [this message]
2013-04-24  7:55     ` Nicolas Goaziou
2013-04-24 14:24     ` Erik Hetzner

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:

  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=8638ugl6p6.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \


* 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


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