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

Tests: Fixed pretty print incorrectly calculating print width #2821

Merged

Conversation

RunDevelopment
Copy link
Member

Pretty print formatting did not take indentation into account and incorrectly calculated the width of individual tokens. This has been fixed.

@github-actions
Copy link

github-actions bot commented Mar 21, 2021

No JS Changes

Generated by 🚫 dangerJS against cec0435

@danon

This comment has been minimized.

@RunDevelopment
Copy link
Member Author

@danon This comment is completely unrelated to this PR. Please comment on the appropriate PR/issue or open a new issue.

@danon
Copy link
Contributor

danon commented Mar 23, 2021

@RunDevelopment I commented on incorrect PR, sorry. I fixed it.

@RunDevelopment RunDevelopment merged commit 5bc405e into PrismJS:master Apr 3, 2021
@RunDevelopment RunDevelopment deleted the pretty-print-width-fix branch April 3, 2021 09:30
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.

None yet

2 participants