Regularize text formatting.