You are here

protected function Html5Test::cycleFragment in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Html5Test.php \Masterminds\HTML5\Tests\Html5Test::cycleFragment()
7 calls to Html5Test::cycleFragment()
Html5Test::testAttributes in vendor/masterminds/html5/test/HTML5/Html5Test.php
Html5Test::testCDATA in vendor/masterminds/html5/test/HTML5/Html5Test.php
Html5Test::testComment in vendor/masterminds/html5/test/HTML5/Html5Test.php
Html5Test::testElements in vendor/masterminds/html5/test/HTML5/Html5Test.php
Html5Test::testEntities in vendor/masterminds/html5/test/HTML5/Html5Test.php

... See full list

File

vendor/masterminds/html5/test/HTML5/Html5Test.php, line 23

Class

Html5Test

Namespace

Masterminds\HTML5\Tests

Code

protected function cycleFragment($fragment) {
  $dom = $this->html5
    ->loadHTMLFragment($fragment);
  $out = $this->html5
    ->saveHTML($dom);
  return $out;
}