Skip to content

Non-DOI links to https://doi.org trigger obscure error #828

@agoose77

Description

@agoose77

Description

A simple link to https://doi.org, e.g. [DOI](http://www.doi.org/index.html) causes the MyST build to crash with an obscure

This format is not supported or recognized

error.

Proposed solution

Only treat the link as a DOI if it matches r"https:\/\/doi\.org\/10\.\d+\/.*"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions