I`m using tinymce as text editor on my website. Sometimes when I wrote some text and save it the html code is a "broken". It seems there are some unclosed html tags which broke the css layout. This is what is found as a solution http://www.php.net/manual/en/tidy.examples.php
Is there some other technique (php) to autocomplete unclosed tags ?