Hello Nicolas,

Nicolas Goaziou wrote:
> Erik Hetzner <e...@e6h.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
>>   :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