From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Question regarding link text in HTML export Date: Wed, 24 Apr 2013 09:37:57 +0200 Message-ID: <8638ugl6p6.fsf@somewhere.org> References: <87haiw32si.wl%egh@e6h.org> <87txmw9z3m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > Erik Hetzner 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: =E2=80=9CLink to Foo.=E2=80=9D. >> >> If I change the link text to anything other than =E2=80=9CFoo=E2=80=9D, = 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 --=20 Sebastien Vauban