Hi Kristen, > I agree with you that this does not match the spec. I did this > deliberately, because I had a problem deciding how to deal with > the test case which you requested I include, which was defined > in test_sms.c (header_test). I included the test case below > for your reference. > > static struct html_attr_test html_attr_data_1 = { > .text = "EMS messages can contain italic, bold, large, small and " > "colored text", > .text_attr = { > .len = 20, > .attributes = { 0x19, 0x06, 0x20, 0x00, 0x21, 0x04, 0x10, 0x00, > 0x27, 0x05, 0x04, 0x00, 0x2E, 0x05, 0x08, 0x00, > 0x38, 0x07, 0x00, 0x2B }, > }, > .html = "EMS messages can contain "italic;\">italic, " > "bold, large, " > "small and " > "" > "colored text", > }; > > So, you have your first formatting at start position 0x19, with > format code 0x20, and color not set (0x00). Since previously > you had no formatting from the beginning to byte 0x19, and this > formatting specifies an alignment value of 0, if we interpret > this the way you suggest we will now insert a