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

CSS @media in HTML file breaks syntax highlighting #22404

Closed
ggregoire opened this issue Mar 10, 2017 · 2 comments
Closed

CSS @media in HTML file breaks syntax highlighting #22404

ggregoire opened this issue Mar 10, 2017 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling
Milestone

Comments

@ggregoire
Copy link

  • VSCode Version: last one
  • OS Version: macOS

Hi,

@media into <style></style> breaks the syntax highlighting.

screen shot 2017-03-10 at 11 00 17

@ramya-rao-a ramya-rao-a added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Mar 10, 2017
@aeschli aeschli added the bug Issue identified by VS Code Team member as probable bug label Mar 17, 2017
@aeschli aeschli added this to the Backlog milestone Mar 17, 2017
@aeschli
Copy link
Contributor

aeschli commented Mar 17, 2017

Reproduce with

<html>
<style>
h1 {
  color: red;
  
}@media only screen {
  
}
</style>
</html>

Problem is the lack of a whitespace before @media

@aeschli
Copy link
Contributor

aeschli commented Mar 17, 2017

This issue was moved to atom/language-css#107

@aeschli aeschli closed this as completed Mar 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling
Projects
None yet
Development

No branches or pull requests

3 participants