🤭LOL!: p ∈ block-level

Beitrag lesen

problematische Seite

sagt jedenfalls MDN:

Note: Be aware that block-level elements like <p> will be automatically closed if another block-level element is nested inside and therefore parsed before the closing </p> tag.

https://developer.mozilla.org/en-US/docs/Web/API/DOMParser