diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/HTML5/Parser/DOMTreeBuilderTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/HTML5/Parser/DOMTreeBuilderTest.php b/test/HTML5/Parser/DOMTreeBuilderTest.php index b13edbc..aec7499 100644 --- a/test/HTML5/Parser/DOMTreeBuilderTest.php +++ b/test/HTML5/Parser/DOMTreeBuilderTest.php @@ -27,6 +27,10 @@ class DOMTreeBuilderTest extends \HTML5\Tests\TestCase { return $treeBuilder->document(); } + + /** + * Utility function for parsing a fragment of HTML5. + */ protected function parseFragment($string) { $treeBuilder = new DOMTreeBuilder(TRUE); $input = new StringInputStream($string); |