Skip to content

Commit 973bc37

Browse files
authored
Merge pull request #248 from citricguy/hex-typo
Just a quick typo fix.
2 parents f5ac2c0 + f8b3564 commit 973bc37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HTML5/Parser/CharacterReference.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function lookupDecimal($int)
4848
}
4949

5050
/**
51-
* Given a hexidecimal number, return the UTF-8 character.
51+
* Given a hexadecimal number, return the UTF-8 character.
5252
*
5353
* @param $hexdec
5454
*

src/HTML5/Parser/Tokenizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ protected function decodeCharacterReference($inAttribute = false)
11271127
return '&';
11281128
}
11291129

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

0 commit comments

Comments
 (0)