366 B
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>`;