Issue #2917653 by markcarver, bojan_dev, dww, idebr, lauriii: toolbar_preprocess_html() converts attributes from array to Attribute object