-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done
Description
Subject of the issue
commonmark: true
[1][Test Text](http://example.com)
Steps to reproduce
Expected behaviour
Same as CommonMark playground:
[
{
"type": "text",
"value": "["
},
{
"type": "text",
"value": "1"
},
{
"type": "text",
"value": "]"
},
{
"type": "link",
"title": null,
"url": "http://example.com",
"children": [
{
"type": "text",
"value": "Test Text"
}
]
}
]
Actual behaviour
[
{
"type": "linkReference",
"identifier": "test text",
"referenceType": "full",
"children": [
{
"type": "text",
"value": "1"
}
]
},
{
"type": "text",
"value": "("
},
{
"type": "link",
"title": null,
"url": "http://example.com",
"children": [
{
"type": "text",
"value": "http://example.com"
}
]
},
{
"type": "text",
"value": ")"
}
]
Metadata
Metadata
Assignees
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done