get rid of html at end of posts