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

@media breaks the coloring of the php code #7330

Open
troizet opened this issue Apr 25, 2024 · 0 comments
Open

@media breaks the coloring of the php code #7330

troizet opened this issue Apr 25, 2024 · 0 comments
Labels
CSS [ci] enable web job kind:bug Bug report or fix needs:triage Requires attention from one of the committers PHP [ci] enable extra PHP tests (php/php.editor)

Comments

@troizet
Copy link
Collaborator

troizet commented Apr 25, 2024

Apache NetBeans version

Apache NetBeans 21

What happened

Using @media after the php code breaks its coloring.

css_media_coloring

Language / Project Type / NetBeans Component

php, css

How to reproduce

  • Create a new php file.
  • Add code to the file
<?php

foreach ($foo as $bar) {

}

?>

<style>
    @media screen and (min-width: 720px) {
    }
</style>

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu 22.04.4 LTS

JDK

OpenJDK Runtime Environment 17.0.10+7-Ubuntu-122.04.1

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

@troizet troizet added kind:bug Bug report or fix PHP [ci] enable extra PHP tests (php/php.editor) CSS [ci] enable web job needs:triage Requires attention from one of the committers labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS [ci] enable web job kind:bug Bug report or fix needs:triage Requires attention from one of the committers PHP [ci] enable extra PHP tests (php/php.editor)
Projects
None yet
Development

No branches or pull requests

1 participant