handling of unclosed start tags, i.e. <span; remove attributes/properties from close tag if present