Skip to content

Commit

Permalink
docs: Fixed a faulty sanitization result in README
Browse files Browse the repository at this point in the history
See #854
  • Loading branch information
cure53 committed Aug 29, 2023
1 parent 1154de2 commit 48bd850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const clean = DOMPurify.sanitize(
allowCustomizedBuiltInElements: true, // customized built-ins are allowed
},
}
); // <foo-bar baz="foobar"></foo-bar><div is=""></div>
); // <foo-bar baz="foobar"></foo-bar><div is="foo-baz"></div>

const clean = DOMPurify.sanitize(
'<foo-bar baz="foobar" forbidden="true"></foo-bar><div is="foo-baz"></div>',
Expand Down

0 comments on commit 48bd850

Please sign in to comment.