remarkjs / remark

markdown processor powered by plugins part of the @unifiedjs collective
https://remark.js.org
MIT License
7.66k stars 358 forks source link

Source position property not available for some autolinks #1001

Closed enriquecastl closed 2 years ago

enriquecastl commented 2 years ago

Initial checklist

Affected packages and versions

remark-parse, remark-gfm

Link to runnable example

https://codesandbox.io/s/reverent-mclean-rihnmh?file=/src/index.js

Steps to reproduce

Runtime: Chrome web browser Package manager: yarn

Expected behavior

The link node and the text nodes surrounding the link have proper source position information.

Actual behavior

The link node and the text nodes surrounding the link lack source position information.

Runtime

No response

Package manager

Other (please specify in steps to reproduce)

OS

macOS

Build and bundle tools

Webpack

ChristianMurphy commented 2 years ago

Duplicate of https://github.com/remarkjs/remark-gfm/issues/16

github-actions[bot] commented 2 years ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

github-actions[bot] commented 2 years ago

Hi! Thanks for taking the time to contribute!

Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.

Thanks, — bb