Welcome Guest, Not a member yet? Register   Sign In
Closing Opened Tags
#1

[eluser]BrandonDurham[/eluser]
I'm wrapping up the development of a custom CMS for a client. I'm using FCKeditor on some of the form fields where they want more control over the appearance of the text. I'm only using a few of the toolbar options (like bold, italic, font color, paste from word, and add link) but I'm concerned about the fact that FCKeditor doesn't catch unclosed code blocks (like if they forget to add the "</p>" or if they copied and pasted text from another site that's less-than-perfect.

What might be my best option for parsing the content and closing any opened tags before adding it to the database?

I appreciate any suggestions. Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB