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

Higlighting of jsx file is inconsistent #262

Closed
mhegazy opened this issue Sep 16, 2016 · 1 comment
Closed

Higlighting of jsx file is inconsistent #262

mhegazy opened this issue Sep 16, 2016 · 1 comment

Comments

@mhegazy
Copy link
Contributor

mhegazy commented Sep 16, 2016

From @waderyan on September 16, 2016 20:6

From @anvish on September 15, 2016 17:2

  • VSCode Version: 1.5.2 (run with --disable-extensions)
  • OS Version: Windows 7 SP1

Steps to Reproduce:

  1. Open .jsx file
import React from 'react'
function render() {
    return (
        <div>
            <table >
                <thead>
                    <tr>
                        <th className="b"></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td className="b"></td>
                        {this.items.map(item =>
                            <td key={item.code} className="b">{item.value}</td>
                        ) }
                    </tr>
                    <tr>
                        <td className="b"></td>
                        {this.items.map(item =>
                            <td key={item.code} className="b">{item.value}</td>
                        ) }
                    </tr>
                </tbody>
            </table>
        </div>
    )
}
render()

Note a space in <table > tag.
2. Remove a space in <table > tag.
Color of last <td> content changes

2
1

Copied from original issue: microsoft/vscode#12093

Copied from original issue: microsoft/TypeScript#10955

@sheetalkamat
Copy link
Member

Fixed by #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants