emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: yarnton--- via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Bug: DOI links are broken in HTML exports
Date: Mon, 21 Sep 2020 19:34:15 +0200 (CEST)	[thread overview]
Message-ID: <MHlijSX--3-2@tutanota.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

Hi,

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

---

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/>

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.

Thanks


[-- Attachment #2: Type: text/html, Size: 1057 bytes --]

             reply	other threads:[~2020-09-21 17:35 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. [this message]
2020-09-23  7:14 ` Bastien
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=MHlijSX--3-2@tutanota.com \
    --to=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).