Added code formatting to general document error box