Jump to content

Recommended Posts

Posted

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


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...