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

fix: wrap_comments creating invalid code blocks #6417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grant0417
Copy link

@grant0417 grant0417 commented Dec 12, 2024

Fixes #5244

This PR fixes the issue in #6416 (duplicate of #5244), I have added both the before and after case of the formatting in tests/.

Edit (ytmimi): I updated the description

@ytmimi
Copy link
Contributor

ytmimi commented Dec 12, 2024

Thanks for the PR! Can you add the input from #5244 as a test case as well?

@grant0417
Copy link
Author

Yep, changed the tests to those.

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

Successfully merging this pull request may close these issues.

wrap_comments does not ensure code blocks start on a new line
3 participants