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

🐛 Bug: alt-text-bot-id causes incorrect formatting of link on its line #62

Open
JoshuaKGoldberg opened this issue Jan 16, 2025 · 0 comments

Comments

@JoshuaKGoldberg
Copy link
Contributor

JoshuaKGoldberg commented Jan 16, 2025

Looking at JoshuaKGoldberg/eslint-plugin-package-json#721 (comment):

Uh oh! _(username redacted to avoid ping)_, at least one image you shared is missing helpful alt text. Check https://github.com/[/pull/721](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/721)#issuecomment-2594302487 to fix the following violations: * Images should have meaningful alternative text (alt text) at line 2

...

Looking at the source:

<div alt-text-bot-id="2594302487" /> ... Check https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/721#issuecomment-2594302487 to fix the following violations:

The "Check ..." portion should render correctly on its own. But the <div ... /> switches the line to parsing as HTML rather than Markdown, I think. So it's rendering the text as:

Check https://github.com//pull/721#issuecomment-2594302487 to fix the following violations
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

1 participant