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

PHP markdown bug with MySQL query inside a string combined with a single grave accent #361

Open

Description

@alexr00

Copied from microsoft/vscode#74909

  • VSCode Version: 1.35.0
  • OS Version: macOS Mojave 10.14.5

Using textmate grammar:

An image is worth a thousand words

<?php
	$query = 'SELECT * FROM `';
	//
	//
	$two = 'my_table` WHERE my_column=0';
	// fixed
?>

Activity

  1. Arcanemagus commented on Jun 13, 2019

    @Arcanemagus

    Reproduced in Atom v1.40.0-nightly1 with language-php v0.44.1:
    image

    Note that this is likely the same issue as #336, however this is using the ` character instead of '.

  2. Arcanemagus commented on Jun 25, 2019

    @Arcanemagus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions