8000 Fix tests and PHP impl as per r3196. · html5lib/html5lib-php@ed76b0a · GitHub
[go: up one dir, main page]

Skip to content

Commit ed76b0a

Browse files
author
Edward Z. Yang ext:(%22)
committed
Fix tests and PHP impl as per r3196.
1 parent 5508212 commit ed76b0a

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
@@ -1437,10 +1437,6 @@ public function parse() {
14371437
} elseif ($char === '-') {
14381438
$state = 'comment end dash';
14391439
} elseif ($char === "\t" || $char === "\n" || $char === "\x0c" || $char === ' ') {
1440-
$this->emitToken(array(
1441-
'type' => self::PARSEERROR,
1442-
'data' => 'unexpected-space-in-comment-end-space',
1443-
));
14441440
$this->token['data'] .= $char;
14451441
} elseif ($char === false) {
14461442
$this->emitToken(array(

0 commit comments

Comments
 (0)
0