emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org 6.28b - html export bug (external link id)
@ 2009-06-25 23:00 Stefan Vollmar
  2009-06-26  7:54 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Vollmar @ 2009-06-25 23:00 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have just noticed the following effect with org 6.28b which looks  
like a bug to me:

"Org Link To Org Use ID" is set to: Create if storing link  
interactively and no CUSTOM_ID is present

* Headline
some text [...]

(1) press C-c l inside one section of one org-file (here: after  
"Headline") to store a link with a unique id generated by org

(2) insert the link with C-c C-l into another org-file

Setting Org->Hyperlinks->Literal Links yields:
[[id:AE9224D4-4BFB-4D74-B10B-70D5E8EA1FD0][Headline]]

which looks OK. However, when exporting this second file to HTML, I get:
<a href="test.html#ID-AE9224D4-4BFB-4D74-B10B-70D5E8EA1FD0">Headline</ 
a>A1FD0][Headline]]
which really should have been:
<a href="test.html#ID-AE9224D4-4BFB-4D74-B10B-70D5E8EA1FD0">Headline</a>
So this looks like something which is hopefully easy to fix.
If the link is placed in the same file, the "literal link" is the  
same, however, in this case HTML is rendered (correctly) as:
<a href="#sec-1">Headline</a>
Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de

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

* Re: org 6.28b - html export bug (external link id)
  2009-06-25 23:00 org 6.28b - html export bug (external link id) Stefan Vollmar
@ 2009-06-26  7:54 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-06-26  7:54 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode

I am unable to reproduce this.  Anyone?

- Carsten

On Jun 26, 2009, at 1:00 AM, Stefan Vollmar wrote:

> Hello,
>
> I have just noticed the following effect with org 6.28b which looks  
> like a bug to me:
>
> "Org Link To Org Use ID" is set to: Create if storing link  
> interactively and no CUSTOM_ID is present
>
> * Headline
> some text [...]
>
> (1) press C-c l inside one section of one org-file (here: after  
> "Headline") to store a link with a unique id generated by org
>
> (2) insert the link with C-c C-l into another org-file
>
> Setting Org->Hyperlinks->Literal Links yields:
> [[id:AE9224D4-4BFB-4D74-B10B-70D5E8EA1FD0][Headline]]
>
> which looks OK. However, when exporting this second file to HTML, I  
> get:
> <a href="test.html#ID-AE9224D4-4BFB-4D74- 
> B10B-70D5E8EA1FD0">Headline</a>A1FD0][Headline]]
> which really should have been:
> <a href="test.html#ID-AE9224D4-4BFB-4D74- 
> B10B-70D5E8EA1FD0">Headline</a>
> So this looks like something which is hopefully easy to fix.
> If the link is placed in the same file, the "literal link" is the  
> same, however, in this case HTML is rendered (correctly) as:
> <a href="#sec-1">Headline</a>
> Warm regards,
> Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-06-26  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-25 23:00 org 6.28b - html export bug (external link id) Stefan Vollmar
2009-06-26  7:54 ` Carsten Dominik

Code repositories for project(s) associated with this 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).