Skip to content
Browse files

fix #295 attributes different from null and undefined are properly st…

…ringified
  • Loading branch information...
1 parent d494b7d commit c1b3af65d2ca3b81b74f8f779b4b1299b5beb495 @flongo committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/aria/utils/Html.js
View
1 src/aria/utils/Html.js
@@ -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("\"");

0 comments on commit c1b3af6

Please sign in to comment.
Something went wrong with that request. Please try again.