emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org 6.28b - html export bug (external link id)
Date: Fri, 26 Jun 2009 01:00:23 +0200	[thread overview]
Message-ID: <0C7C587C-19A8-42BC-88C4-A629656157CC@nf.mpg.de> (raw)

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

             reply	other threads:[~2009-06-25 23:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25 23:00 Stefan Vollmar [this message]
2009-06-26  7:54 ` org 6.28b - html export bug (external link id) Carsten Dominik

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=0C7C587C-19A8-42BC-88C4-A629656157CC@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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