Adjustments for special characters in formatting methods.