From http://wpsnipp.com/index.php/functions-php/remove-p-tag-from-around-images-in-the_content/