Web components are custom HTML components that are required to have - in their names. This breaks current HTML handling since these elements are not considered. IMHO they should be treated the same as <div> ("block" elements, if I'm not mistaken).
The following was tested in current main with the extension md_in_html active.
input
output:
<p><a-b></p>
<p>asdf</p>
<p></a-b></p>
expected:
I went through the code and might know how to add this, but I would like the maintainers' input before proceeding.