1--TEST--
2DOMDocument::loadHTML
3--CREDITS--
4Frank Cassedanne franck@ouarz.net
5#London TestFest 2008
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10$doc = new DOMDocument();
11$doc->loadHTML("<html><body><p>Test<br></p></body></html>");
12echo $doc->saveHTML();
13?>
14--EXPECT--
15<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
16<html><body><p>Test<br></p></body></html>
17