Skip to content

Commit

Permalink
Just a quick typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
citricguy committed Jun 2, 2024
1 parent f5ac2c0 commit f8b3564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HTML5/Parser/CharacterReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function lookupDecimal($int)
}

/**
* Given a hexidecimal number, return the UTF-8 character.
* Given a hexadecimal number, return the UTF-8 character.
*
* @param $hexdec
*
Expand Down
2 changes: 1 addition & 1 deletion src/HTML5/Parser/Tokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ protected function decodeCharacterReference($inAttribute = false)
return '&';
}

// Hexidecimal encoding.
// Hexadecimal encoding.
// X[0-9a-fA-F]+;
// x[0-9a-fA-F]+;
if ('x' === $tok || 'X' === $tok) {
Expand Down

0 comments on commit f8b3564

Please sign in to comment.