10000 Fix bug in comment end bang parse error. · html5lib/html5lib-php@5bba379 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5bba379

Browse files
author
Edward Z. Yang ext:(%22)
committed
Fix bug in comment end bang parse error.
1 parent ed76b0a commit 5bba379

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/HTML5/Tokenizer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,10 +1420,6 @@ public function parse() {
14201420
$this->stream->unget();
14211421
$state = 'data';
14221422
} else {
1423-
$this->emitToken(array(
1424-
'type' => self::PARSEERROR,
1425-
'data' => 'unexpected-char-in-comment-end-bang',
1426-
));
14271423
$this->token['data'] .= '--!' . $char;
14281424
$state = 'comment';
14291425
}

0 commit comments

Comments
 (0)
0