Angle bracket enclosed URL in reference link fails.
- Dominant language
- C
- Stars
- 709
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Input:
```
[a][b]
[b]:
```
The output `href` contains `<>`, but the original docs http://daringfireball.net/projects/markdown/syntax#link say it should work:
> The link URL may, optionally, be surrounded by angle brackets
and it works on every major implementation except multi markdown.
If I could turn back time, I would not allow angle brackets like your implementation: it is better to have a single way of doing things.
But what is done is done, so until we have a markdown specification, it is better to be compatible IMHO.
Discovered with the [Markdown Test Suite](https://github.com/karlcow/markdown-testsuite) at https://github.com/karlcow/markdown-testsuite/pull/50 . Congrats: this is the only failing test!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.