From 8a5d21165697440ae80756d9b8acf56dd682d0fc Mon Sep 17 00:00:00 2001 From: Technosophos Date: Tue, 2 Apr 2013 16:44:02 -0500 Subject: Initial add of html5lib. --- test/HTML5/ParserTest.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/HTML5/ParserTest.php (limited to 'test/HTML5/ParserTest.php') diff --git a/test/HTML5/ParserTest.php b/test/HTML5/ParserTest.php new file mode 100644 index 0000000..43b87e9 --- /dev/null +++ b/test/HTML5/ParserTest.php @@ -0,0 +1,15 @@ +'); + $this->assertIsA($result, 'DOMDocument'); + } + public function testParseFragment() { + $result = HTML5_Parser::parseFragment('asdf foo'); + $this->assertIsA($result, 'DOMNodeList'); + } +} -- cgit v1.2.3