Text Editor for comments

Posted by Mike Silvis on Stack Overflow See other posts from Stack Overflow or by Mike Silvis
Published on 2010-06-04T23:40:21Z Indexed on 2010/06/05 10:02 UTC
Read the original article Hit count: 186

Filed under:
|

I am using the CKEditor for my website along with PHP, and want to allow only <b>, <i>, <a>, and <img> tags. This is easy, however our problem is that a user could essentially add a <b> tag some where and then not close it resulting in all of the comments thereafter and the rest of that page being bolded.

How do we check and make sure that whatever tag is opened is now closed?

© Stack Overflow or respective owner

Related posts about php

Related posts about ckeditor