If the html does not contain any background color information do not use format.background() because it is wrong
If the html does not contain any background color information, format.background().color() returns black which is not correct
fixes #537 (closed)