emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: yarnton--- via "General discussions about Org-mode."
	<emacs-orgmode@gnu.org>
Cc: yarnton@tutanota.com
Subject: Re: Bug: DOI links are broken in HTML exports
Date: Wed, 23 Sep 2020 09:14:26 +0200	[thread overview]
Message-ID: <873639c6ct.fsf@gnu.org> (raw)
In-Reply-To: <MHlijSX--3-2@tutanota.com> (yarnton's message of "Mon, 21 Sep 2020 19:34:15 +0200 (CEST)")

Hi,

yarnton--- via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> I've found a small bug in org-html-export-to-html. Minimal document to reproduce:
>
> ---
>
> Foo [fn:1]
>
> * Footnotes
>
> [fn:1] doi:10.1186/s12864-016-2377-z
>
> ---

Do you use a link abbreviation for doi: links ?

> When I export this document to HTML the DOI link gets converted into a
> broken hyperlink. It should be converted into
> https://doi.org/10.1186/s12864-016-2377-z as explained
> in https://www.doi.org/. <https://www.doi.org/>

If you use a link abbreviation.

> Following the link from the org file with C-c C-o works fine, though.
>
> It'd be great if this could get fixed, as DOI links are incredibly
> helpful when dealing with bibliographic items.

What version of Emacs and Org are you using?

-- 
 Bastien


  reply	other threads:[~2020-09-23  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21 17:34 yarnton--- via General discussions about Org-mode.
2020-09-23  7:14 ` Bastien [this message]
2020-09-23 16:39   ` yarnton--- via General discussions about Org-mode.
2021-04-18 12:06     ` Nicolas Goaziou

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=873639c6ct.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=yarnton@tutanota.com \
    --subject='Re: Bug: DOI links are broken in HTML exports' \
    /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

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