emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Question regarding link text in HTML export


From: Sebastien Vauban
Subject: Re: [O] Question regarding link text in HTML export
Date: Wed, 24 Apr 2013 09:37:57 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
> Erik Hetzner <address@hidden> writes:
>
>> When trying to export the following org file as HTML (C-e h o), using
>> out of the box latest org-mode:
>>
>> ```
>> * Foo
>>   :PROPERTIES:
>>   :ID:       aaccd0f3-3eff-4f38-ad83-bc51b8444d73
>>   :END:
>> * Bar
>>   :PROPERTIES:
>>   :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,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]