for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MediaWiki\Tidy;
class Html5Internal extends TidyDriverBase {
private $balancer;
public function __construct( array $config ) {
parent::__construct( $config + [
'strict' => true,
'tidyCompat' => true,
] );
$this->balancer = new Balancer( $this->config );
}
public function tidy( $text ) {
return $this->balancer->balance( $text );