Skip to content

Commit

Permalink
Fixes a typo in Utils:sanitizeEntities()
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Stovell <[email protected]>
  • Loading branch information
Sesquipedalian committed Jul 9, 2024
1 parent 94e48d7 commit 7788cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function ($matches) use ($substitute) {
if (
// Control characters (except \t, \n, and \r).
($num < 0x20 && $num !== 0x9 && $num !== 0xA && $num !== 0xD)
|| ($num >= 0x74 && $num < 0xA0)
|| ($num >= 0x7F && $num < 0xA0)

// UTF-16 surrogate pairs.
|| ($num >= 0xD800 && $num <= 0xDFFF)
Expand Down

0 comments on commit 7788cb5

Please sign in to comment.