Fix htmlentities bug with editing posts.