Sorry... i should clarify. I want to make sure the information my users post to the forum or blog or html valid to some degree so it does not break the site. Just want the tags to be closed, etc.
Does anyone know of any function/code that I can run a bunch of text through to make sure it is slightly valid (not XHTML - overboard for what I need).
Thanks
User Profile
Collapse
-
Validate HTML in a post
Does anyone have an idea how to validate HTML in a given post. It doesn't have to be perfect XHTML standard, just something to catch html tags that are not closed so that it doesn't mess up the site.
If you have a script, post a sample for us all. thanks.
No activity results to display
Show More
Leave a comment: