public function Html5Test::testSaveHTMLFragment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Html5Test.php \Masterminds\HTML5\Tests\Html5Test::testSaveHTMLFragment()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php, line 113
Class
Namespace
Masterminds\HTML5\TestsCode
public function testSaveHTMLFragment() {
$fragment = '<section id="Foo"><div class="Bar">Baz</div></section>';
$dom = $this->html5
->loadHTMLFragment($fragment);
$string = $this->html5
->saveHTML($dom);
$this
->assertEquals($fragment, $string);
}