Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Wrong JavaScript syntax in a PHP file #62

Open
@rgalex2034

Description

@rgalex2034

If you write JS in a PHP file, the colors for syntax highlight are different.
You get the "=", braces, curly braces and variable names as pink color in anonymous functions.

As an example, write this code with a JS file and a PHP file:
<script> var handler = 3; $(document).ready(function(){ var something = 5; }); </script>

Result:
imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions