forked from fgnass/domino
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: escape unsafe patterns in elements, comment nodes and processing…
… instructions This commit updates the logic to espace unsafe patterns: - for elements that can have raw text: all matching closing tags are escaped - for comment nodes: all closing comment tags are escaped - for processing instructions: all `>` symbols are excaped
- Loading branch information
1 parent
77f745f
commit 4f8a2dd
Showing
6 changed files
with
1,387 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
"devDependencies": { | ||
"jquery": "^3.5.1", | ||
"mocha": "^6.2.3", | ||
"puppeteer": "^21.3.5", | ||
"should": "^13.2.3" | ||
} | ||
} |
Oops, something went wrong.