summaryrefslogtreecommitdiff
path: root/test/HTML5/Parser
diff options
context:
space:
mode:
authorTechnosophos <[email protected]>2013-04-12 17:53:01 -0500
committerTechnosophos <[email protected]>2013-04-12 17:53:01 -0500
commitffcfa507b081cf132db5b90c26bfad66d79a4eb4 (patch)
tree6379c5433eba61a2d71b20a9b4012f52c9dc82dd /test/HTML5/Parser
parent1fdc03495c7702422638941235fde4fa3f327232 (diff)
DOCTYPE bogus comments handled.
Diffstat (limited to 'test/HTML5/Parser')
-rw-r--r--test/HTML5/Parser/TokenizerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/HTML5/Parser/TokenizerTest.php b/test/HTML5/Parser/TokenizerTest.php
index 291bd0f..ead02d0 100644
--- a/test/HTML5/Parser/TokenizerTest.php
+++ b/test/HTML5/Parser/TokenizerTest.php
@@ -90,6 +90,7 @@ class TokenizerTest extends \HTML5\Tests\TestCase {
$bogus = array(
'</+this is a bogus comment. +>',
'<!+this is a bogus comment. !>',
+ '<!DOCTYEP foo bar>',
);
foreach ($bogus as $str) {
$events = $this->parse($str . ' ');