Ensure the text is stripped properly.