Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kmh287 committed Mar 2, 2017
1 parent 08f7956 commit fca0a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sanitizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function sanitizeHtml(html) {
continue;
}
emit(' ');
if (hasOwn(bindAttribsIndices, String(i))) {
if (bindAttribsIndices[i]) {
emit('[' + attrName + ']');
} else {
emit(attrName);
Expand Down

0 comments on commit fca0a59

Please sign in to comment.