fix #295 attributes different from null and undefined are properly stringified #296

Closed
wants to merge 1 commit into
from
View
@@ -54,6 +54,7 @@ Aria.classDefinition({
}
}
} else if (whiteList.test(key)) {
+ attribute = (attribute != null) ? attribute + "" : "";
result.push(" ", key, "=\"");
result.push(stringUtil.encodeForQuotedHTMLAttribute(attribute));
result.push("\"");