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 #396. Raise error when there is no matching quote. #477

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

rebornix
Copy link
Contributor

While troubleshooting issue microsoft/vscode#17166 for VS Code, we found the trigger is running expandAbbreviation on a css rule without a closing quote, for example as below

.foo { 
  font-family: 'Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

The root cause is that we don't quit the while loop while parsing quotes. We are handling brackets correctly, here this change is just aligning with other parts.

@sergeche sergeche merged commit 4fad992 into emmetio:master Dec 15, 2016
@sergeche
Copy link
Member

Thanks!

@sergeche
Copy link
Member

Published as v1.6.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