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 removing next link during strip whitespaces for first element. #1790

Merged

Conversation

stalkerg
Copy link
Contributor

@stalkerg stalkerg commented Oct 19, 2018

This PR fix my issue #1778 .
The main problem this we shouldn't change the link to the next element after remove first when we have forward motion it's actual for reverse motion only.
By current code logic next state:
elem1 -> elem2
elem2 -> elem3
elem3 -> null
changed to:
elem2 -> null
elem3 -> null
(we removed first element and for second element set next link as null)

@Rich-Harris Rich-Harris merged commit 21ea87c into sveltejs:master Oct 20, 2018
@Rich-Harris
Copy link
Member

thank you! released 2.14.1

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.

2 participants