Merge template attributes of root element.

Description

A Guise Mummy template may have structure like this:

A particular page may have a a <main> section with some class specified:

When applying the template, the extra attributes need to be kept, as they may be important to the page. Any class attribute values need to be merged taking into account HTML class delimiters. Thus after applying the template, the <main> element above should be like this:

Environment

None

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Components

Fix versions

Affects versions

Priority

Critical
Configure