Skip to content

Commit

Permalink
docs: Changed inline comments slightly to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
cure53 committed May 5, 2024
1 parent a377bf8 commit aafd7a8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/purify.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/purify.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.es.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ function createDOMPurify() {
continue;
}

/* Work around an issue with comments inside attribites */
/* Work around a security issue with comments inside attribites */
if (regExpTest(/(--!?|])>/i, value)) {
_removeAttribute(name, currentNode);
continue;
Expand Down
2 changes: 1 addition & 1 deletion dist/purify.es.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/purify.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/purify.js
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ function createDOMPurify(window = getGlobal()) {
continue;
}

/* Work around an issue with comments inside attribites */
/* Work around a security issue with comments inside attribites */
if (regExpTest(/(--!?|])>/i, value)) {
_removeAttribute(name, currentNode);
continue;
Expand Down

0 comments on commit aafd7a8

Please sign in to comment.