Remove formatting from commands used in headers