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 leading and trailing whitespaces issue #574

Merged

Conversation

tneotia
Copy link
Collaborator

@tneotia tneotia commented Mar 7, 2021

Fixes #347

This will need some testing, I threw all the problem cases from #347 and #398 and it works fine.

@erickok
Copy link
Collaborator

erickok commented Mar 7, 2021

The code looks good - I understand what you did to solve this. But yes, this would need a bit of regression testing.

Really we should set up proper golden/widget tests again... (wish I had more time right now).

@erickok
Copy link
Collaborator

erickok commented Mar 16, 2021

I tested this and indeed the issues seem fixed. I also don't see any obvious regressions (again... I wil have to set up proper golden tests some time in the future).

Only thing I noticed is that lists no longer seem to be rendered correctly in the example app but this is unrelated as it also is bugged in master.

Screenshot 2021-03-16 at 23 38 57

@erickok erickok merged commit 1fa33d8 into Sub6Resources:master Mar 16, 2021
@tneotia
Copy link
Collaborator Author

tneotia commented Mar 16, 2021

@erickok it should have been fixed with #575 which was merged, does it still appear bugged for you?

@erickok
Copy link
Collaborator

erickok commented Mar 17, 2021

I was on master when I checked this. Is this not a problem for you on master branch?

@tneotia
Copy link
Collaborator Author

tneotia commented Mar 17, 2021

Nope it's working as expected:

Screenshot_20210317-071601.png

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

Successfully merging this pull request may close these issues.

removeUnnecessaryWhitespace should remove leading and trailing spaces
2 participants