Preserve whitespace in JSXExpressionContainer StringLiteral children - fixes T7243
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<button data-value={"a value\n with\nnewlines\n and spaces"}>Button</button>;
|
||||
@@ -0,0 +1,5 @@
|
||||
React.createElement(
|
||||
"button",
|
||||
{ "data-value": "a value\n with\nnewlines\n and spaces" },
|
||||
"Button"
|
||||
);
|
||||
Reference in New Issue
Block a user