Files
test-repo/changelog_unreleased/javascript/9743.md
T

366 B

Fix inconsistent language comment detection (#9743 by @fisker)

// Input
foo /* HTML */ = `<DIV>
</DIV>`;

// Prettier stable (--parser=babel)
foo /* HTML */ = `<div></div>`;

// Prettier stable (--parser=meriyah)
foo /* HTML */ = `<DIV>
</DIV>`;

// Prettier master (All JavaScript parsers)
foo /* HTML */ = `<DIV>
</DIV>`;