Parse the text before saving it