Skip to content

*.[j|t]sx parse template string include svg render error, error occurred in marking #97

@SCWR

Description

@SCWR

microsoft/vscode#151580

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.68.0-insider (Universal)
  • OS Version: Mac 12.4

Steps to Reproduce:

  1. Enter the following code
function Test() {
  return <div className={`${test}-svg`} />;
}

function Test2() {
  return <div className="demo" />;
}

image

some thing error
  1. if change svg => svg*+

image

is ok...
  1. first, I think the theme error ,when I change theme, error still exists

image

image

  1. Is it another question?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions