364 B
364 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 main (All JavaScript parsers)
foo /* HTML */ = `<DIV>
</DIV>`;