cleanup formatting on a post