Hi! Now im working on WYSIWYG editor for site content managment system and having such a problem: while the adding tags to text sometimes it can put some tags crossing each other, like this text text<b>text<p> some more text</b>text text </p> as you can see here the P tag is opening inside of B but closing outside is there any HTML or may be CSS method that i can aplly to something like div.innerHTML to fix such tags? PS: sorry for my bad english