Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown link text part parsing not working correctly #1417

Open
ZaymonFC opened this issue Jul 30, 2024 · 1 comment
Open

Markdown link text part parsing not working correctly #1417

ZaymonFC opened this issue Jul 30, 2024 · 1 comment

Comments

@ZaymonFC
Copy link

ZaymonFC commented Jul 30, 2024

Describe the issue

Link text parts prefixed with www or suffixed with .com/ seem to break the parser.

Repro:

  1. Go to https://codemirror.net/5/mode/gfm/index.html
  2. Paste the following:
## URL Issues

Leading `www` breaks formatting.
[www.inc.com](https://www.inc.com)

Trailing `.com/` breaks formatting.
[figma.com/](https://www.figma.com)

Ok.
[figma.com](https://www.figma.com)
[any other text](https://www.example.com)

Image

@ZaymonFC ZaymonFC changed the title Markdown link parsing not working correctly Markdown link text part parsing not working correctly Jul 30, 2024
@marijnh
Copy link
Member

marijnh commented Jul 31, 2024

This is the issue tracker for version 6, but you're linking to the version 5 gfm demo (which shares zero code with version 6). For which version of the library is this issue intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants