FIX: If an attribute was undefined as the result of processing,

the HTML escaping would raise an error. This adds safety and
prevents that from happening.