Last Updated: October 6, 2013 | Reading Time: < 1 minute
Awfull formatting your client use within the editor -most of them use copy and paste from word processor- can break your layout.
Below is the code to strip out unwanted tag. Just replace
global $more; $more = 0;
$old_content = ob_get_clean();
$new_content = strip_tags($old_content, ‘<p><a><br /><img>’); //list tag to be allowed
At least it works for me 🙂