Switched to building the element as text and then doing a single element creation which results in a 40% performance increase.
Switched to building the element as text and then doing a single element creation which results in a 40% performance increase.

cowlby/Lighter,cowlby/Lighter