We need a ready-made script (library) to close the html tags correctly.
For example:
<div> <p><p> </div> should not close like this:
<div> <p><p> </div></p></p> Or vice versa, if there is a closed tag and there is no open tag, you need to set the opening tag correctly.
Advise something please.
( [ { ] } ). - MichaelPak