repairs inline attachment links for data imported before 14.2.1