534 B
534 B
Fix embedded template literal idempotency (#19725 by @fisker)
// Input
const foo = html`
<div>${getText({
value,
})}</div>
`;
// Prettier stable (first format)
const foo = html`
<div>
${getText({
value,
})}
</div>
`;
// Prettier stable (second format)
const foo = html`
<div>
${getText({
value,
})}
</div>
`;
// Prettier main
const foo = html`
<div>
${getText({
value,
})}
</div>
`;