Flatten the random_text().