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

Maybe Incorrect URL Parsing #72

Closed
4 tasks done
miaobuao opened this issue Jan 6, 2025 · 2 comments
Closed
4 tasks done

Maybe Incorrect URL Parsing #72

miaobuao opened this issue Jan 6, 2025 · 2 comments
Labels
👀 no/external This makes more sense somewhere else 👎 phase/no Post cannot or will not be acted on

Comments

@miaobuao
Copy link

miaobuao commented Jan 6, 2025

Initial checklist

Affected package

remark-gfm@latest

Steps to reproduce

When processing the following Markdown, Remark-GFM incorrectly identifies a portion of the text as a URL:

[https://github.com]QAQ

Actual behavior

The text https://github.com]QAQ is incorrectly parsed and identified as a URL.

image

Expected behavior

QAQ should be treated as plain text, not as a part of URL.

Runtime

No response

Package manager

No response

Operating system

No response

Build and bundle tools

Astro

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Jan 6, 2025
@wooorm
Copy link
Member

wooorm commented Jan 6, 2025

Hi!

GH has incredibly unreasonable behavior around [:

[ https://github.com]QAQ

https://github.com]QAQ

For more info around what is deemed a bug there, and what is implemented here or not, see https://github.com/micromark/micromark-extension-gfm-autolink-literal#bugs

@wooorm wooorm closed this as completed Jan 6, 2025
@wooorm wooorm added the 👀 no/external This makes more sense somewhere else label Jan 6, 2025

This comment has been minimized.

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 no/external This makes more sense somewhere else 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants