Added missing special characters text class on 4 commands.
Separated common formatting functionality, for reuse in the special characters class.