summaryrefslogtreecommitdiff
path: root/src/HTML5/Exception.php
diff options
context:
space:
mode:
authorAsmir Mustafic <[email protected]>2017-08-28 14:44:01 +0200
committerAsmir Mustafic <[email protected]>2017-08-28 14:44:01 +0200
commit2a38f56f3772f943be436c7b411c2ae5fac6cee6 (patch)
tree2b1cec9a30b2301afeda759a16341972b5a492bd /src/HTML5/Exception.php
parente965886a79a560b4b00a4c471e2bdfafea23fdcb (diff)
Fixes https://github.com/Masterminds/html5-php/issues/124
Reference: https://www.w3.org/TR/html52/syntax.html#character-reference-state If the character reference was consumed as part of an attribute (return state is either attribute value (double-quoted) state, attribute value (single-quoted) state or attribute value (unquoted) state), and the last character matched is not a U+003B SEMICOLON character (;), and the next input character is either a U+003D EQUALS SIGN character (=) or an alphanumeric ASCII character, then, for historical reasons, switch to the character reference end state. If the last character matched is not a U+003B SEMICOLON character (;), this is a parse error.
Diffstat (limited to 'src/HTML5/Exception.php')
0 files changed, 0 insertions, 0 deletions