Open
Description
π Search Terms
comment like jsx text, preserve jsx
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
β― Playground Link
π» Code
function App() {}
const jsx = <App>/* no */{/* 1 */ 123 /* 2 */}/* no */</App>;
π Actual behavior
These duplicate sections will be rendered in the JSX text output:
"use strict";
function App() { }
const jsx = <App> /* no *//* no */{/* 1 */123 /* 2 */} /* no *//* no */</App>
// ~~~~~~~ ~~~~~~~
π Expected behavior
"use strict";
function App() { }
- const jsx = <App> /* no *//* no */{/* 1 */123 /* 2 */} /* no *//* no */</App>
+ const jsx = <App> /* no */{/* 1 */123 /* 2 */} /* no */</App>
Additional information about the issue
No response
Metadata
Metadata
Assignees
Labels
No labels