diff options
Diffstat (limited to 'example.php')
-rw-r--r-- | example.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/example.php b/example.php index 5ba4dbc..b4bc226 100644 --- a/example.php +++ b/example.php @@ -24,7 +24,9 @@ $html = <<< 'HERE' </body></html> HERE; -$dom = \HTML5::parse($html); +$html5 = new HTML5(); + +$dom = $html5->loadHTML($html); print "Converting to HTML 5\n"; |