editing a post saves and links work correctly