Initial checklist
Affected package
mdast-util-gfm-autolink-literal@latest
Steps to reproduce
https://stackblitz.com/edit/stackblitz-starters-atlpfbvy?file=index.js
Hello [World][https://example.com]
Actual behavior
The three child nodes in the paragraph node do not have a position property.
Expected behavior
The nodes have a position property. As far as I understand is the position may only be unset if there is no corresponding text in the source.
Runtime
node@25.6.0
Package manager
pnpm@10.27.0
Operating system
Arch Linux
Build and bundle tools
No response
Initial checklist
Affected package
mdast-util-gfm-autolink-literal@latest
Steps to reproduce
https://stackblitz.com/edit/stackblitz-starters-atlpfbvy?file=index.js
Actual behavior
The three child nodes in the
paragraphnode do not have apositionproperty.Expected behavior
The nodes have a
positionproperty. As far as I understand is thepositionmay only be unset if there is no corresponding text in the source.Runtime
node@25.6.0
Package manager
pnpm@10.27.0
Operating system
Arch Linux
Build and bundle tools
No response