Skip to content

PHP Syntax broken by PHP->CSS->PHP embedding #38275

Closed

Description

  • VSCode Version: 1.18.0
  • OS Version: 10.13.1

Steps to Reproduce:

  1. Paste code in to editor:
<style type="text/css">
	<?php if ($foo) { ?>
		a {}
	<?php } ?>
</style>
<?php
# this should be a php comment
  1. Observe odd styling:

image

Reproduces without extensions: Yes

Activity

  1. added
    php
    on Nov 14, 2017
  2. added
    bug
    on Nov 27, 2017
  3. roblourens commented on Nov 27, 2017

    @roblourens
    Member

    vscode, not Atom.

  4. roblourens commented on Dec 19, 2017

    @roblourens
    Member

    /duplicate of #33519

  5. added
    *duplicate
    on Dec 19, 2017
  6. locked and limited conversation to collaborators on Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

*duplicatebugphp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions