Closed
Description
Hi, according to the w3 specs, you're not allowed to have a <div>
inside of a <p>
, but I came across a website that had such a case. When I parse it with html5ever, it turns the <p><div></div></p>
into <p></p> <div></div> <p></p>
.
But for my use case, I need the DOM to be exactly as it was originally without any changes.
Is it possible to disable the sanitization or checker that runs that handles such cases when running so that no fixing is done?
Metadata
Metadata
Assignees
Labels
No labels