Properly setup the command attr type for bold/italic/underline commands