Removes illegal quotes in text