From f8b3564594ead596c7a2d848984b0967a5aa23c2 Mon Sep 17 00:00:00 2001 From: Josh Sommers Date: Sun, 2 Jun 2024 11:10:28 -1000 Subject: [PATCH] Just a quick typo fix. --- src/HTML5/Parser/CharacterReference.php | 2 +- src/HTML5/Parser/Tokenizer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HTML5/Parser/CharacterReference.php b/src/HTML5/Parser/CharacterReference.php index 490b5487..56a206cb 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 e8b4aa09..0699cf1b 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) {