We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0af54 commit 9aef358Copy full SHA for 9aef358
SPEC
@@ -1,4 +1,4 @@
1
-3769
+3852
2
3
This is the last revision of the spec this library has been audited against.
4
library/HTML5/Tokenizer.php
@@ -1008,8 +1008,10 @@ public function parse() {
1008
1009
} elseif($char === '&') {
1010
/* U+0026 AMPERSAND (&)
1011
- Switch to the entity in attribute value state. */
1012
- $this->characterReferenceInAttributeValue();
+ Switch to the entity in attribute value state, with the
+ additional allowed character being U+003E
1013
+ GREATER-THAN SIGN (>). */
1014
+ $this->characterReferenceInAttributeValue('>');
1015
1016
} elseif($char === '>') {
1017
/* U+003E GREATER-THAN SIGN (>)
0 commit comments