Fix spaces with repeated text lines