(Bug 5296) Migrate custom text properly