-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
fix: fix space removed after checkbox #2971
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine, although I'm curious what caused this behavior to change?
The space was removed in #2936 accidentally. The space was in the checkbox renderer for non-loose lists. |
Ok, I see it. 👍 Is the Parser where we want to be inserting spaces like this? Or was the Renderer more appropriate? I.e., decoding the tokens vs deciding how to display them? I don't have an opinion either way, just wondering why it was in the renderer to begin with. |
Not sure why it was in the renderer to begin with but I feel like the checkbox renderer should just render the checkbox element. |
Marked version: 8.0.0
Description
Fixes #2970
Add back space after checkbox in task list.
Contributor
Committer
In most cases, this should be a different person than the contributor.