Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ringified
  • Loading branch information...
commit c1b3af65d2ca3b81b74f8f779b4b1299b5beb495 1 parent d494b7d
@flongo authored
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("\"");
Please sign in to comment.
Something went wrong with that request. Please try again.