Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou committed Jan 8, 2018
1 parent 8d2c400 commit d14d463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sanitizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ export function sanitizeHtml(html) {
// Rewrite attribute values unless this attribute is a binding.
// Bindings contain expressions not scalars and shouldn't be modified.
const rewrite = (isBinding[i])
? attrValue
: rewriteAttributeValue(tagName, attrName, attrValue);
? attrValue
: rewriteAttributeValue(tagName, attrName, attrValue);
emit(htmlSanitizer.escapeAttrib(rewrite));
}
emit('"');
Expand Down

0 comments on commit d14d463

Please sign in to comment.