Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
354 B
354 B
Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
// Input
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
// Prettier stable
const html = /* HTML */ ` <div class=${styles.banner}></div> `;
// Prettier main
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;