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) adjust snipping spans #256

Merged
merged 2 commits into from
Oct 20, 2021
Merged

Conversation

dummdidumm
Copy link
Member

When snipping the tag contents, after replacing a match, we need to adjust the matching spans as the content length now differs. Else "is within other span" might give wrong results.
Fixes #255

Simon Holthausen added 2 commits October 20, 2021 09:40
When snipping the tag contents, after replacing a match, we need to adjust the matching spans as the content length now differs. Else "is within other span" might give wrong results.
Fixes sveltejs#255
@dummdidumm dummdidumm merged commit f5e5c4f into sveltejs:master Oct 20, 2021
@dummdidumm dummdidumm deleted the snipping-fix branch October 20, 2021 07:45
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.

style content erased
1 participant