-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve decoding of HTML entities (#5064)
* Improve method doc * fix invalid entity with trailing semicolon * fix entites with numerical characters * Improve decoding of numerical character references according to HTML5 spec * Use case instead of if branches * group all disallowed codepoints outside case statement * fix typo * Simplify branches * replacement character as Char
- Loading branch information
1 parent
25392e1
commit 17ac8a2
Showing
2 changed files
with
129 additions
and
20 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