Skip to content

Implicit reference links cause ambiguity with citations #1763

@timtylin

Description

@timtylin

An implicit reference-style link can sometimes be confused for an explicit one when it is followed by some other syntax which uses the [ ] delimiters, most notably citations.

Minimal example:

MapReduce is a paradigm popularized by [Google] [@mapreduce] as its most vocal proponent.

[Google]: http://google.com

Current behavior is that the [Google] gets attached with the [@mapreduce] reference key, which does not exist, and therefore the whole link fails to parse. However, one might expect this to behave like an implicit reference link followed by a citation.

suggestion: No ambiguities are cause if we scan for a normalCite before checking for another reference when parsing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions