diff --git a/src/HTML5/Parser/CharacterReference.php b/src/HTML5/Parser/CharacterReference.php index 490b548..56a206c 100644 --- a/src/HTML5/Parser/CharacterReference.php +++ b/src/HTML5/Parser/CharacterReference.php @@ -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 * diff --git a/src/HTML5/Parser/Tokenizer.php b/src/HTML5/Parser/Tokenizer.php index e8b4aa0..0699cf1 100644 --- a/src/HTML5/Parser/Tokenizer.php +++ b/src/HTML5/Parser/Tokenizer.php @@ -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) {