Skip to content

Commit aafd7a8

Browse files
committed
docs: Changed inline comments slightly to be more accurate
1 parent a377bf8 commit aafd7a8

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

dist/purify.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.es.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ function createDOMPurify() {
12051205
continue;
12061206
}
12071207

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

dist/purify.es.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/purify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ function createDOMPurify(window = getGlobal()) {
13111311
continue;
13121312
}
13131313

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

0 commit comments

Comments
 (0)