Part of the problem is that prettier formats jsx and html as if they're the same (for self closing at least). Splitting them up makes sense so jsx can continue using self closing tags if people prefer that, and html shouldn't have any
I really dislike HTML5's treatment of />. I always write self closing slash-bracket on all void elements. I would much prefer a language with unambiguous syntax. Prettier is designed for authoring HTML (as opposed to being lenient on a machine (f.e. PHP) generating it with errors).
such as content errors (like with the img) and missing closing tags (the next closing tag that matches the parent simply closes the nested element that was missing the closing tag). For example this,
Comments
this is outside the div
etc
This would be so much better. It would still handle a couple errors,
foo
bar