Skip to content

Token cleanup removes line indentation #1039

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

Closed
pokey opened this issue Oct 17, 2022 · 0 comments · Fixed by #1064
Closed

Token cleanup removes line indentation #1039

pokey opened this issue Oct 17, 2022 · 0 comments · Fixed by #1064
Assignees
Labels
bug Something isn't working

Comments

@pokey
Copy link
Member

pokey commented Oct 17, 2022

The new whitespace token cleanup introduced in #1028 is a bit too aggressive. It will remove line indentation in certain situations. For example:

    foo.

Saying "chuck fine" will remove the line indentation, leaving the . at the start of the line:

.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants