Fixed an HTML validation bug that caused empty style settings to be added to the field div on output.