MediaWiki  1.30.2
MediaWiki\Tidy\Html5Internal Class Reference
Inheritance diagram for MediaWiki\Tidy\Html5Internal:
Collaboration diagram for MediaWiki\Tidy\Html5Internal:

Public Member Functions

 __construct (array $config)
 
 tidy ( $text)
 Clean up HTML. More...
 
- Public Member Functions inherited from MediaWiki\Tidy\TidyDriverBase
 __construct ( $config)
 
 supportsValidate ()
 Return true if validate() can be used. More...
 
 validate ( $text, &$errorStr)
 Check HTML for errors, used if $wgValidateAllHtml = true. More...
 

Private Attributes

 $balancer
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase
 $config
 

Detailed Description

Definition at line 5 of file Html5Internal.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Tidy\Html5Internal::__construct ( array  $config)

Definition at line 7 of file Html5Internal.php.

References MediaWiki\Tidy\TidyDriverBase\$config.

Member Function Documentation

◆ tidy()

MediaWiki\Tidy\Html5Internal::tidy (   $text)

Clean up HTML.

Parameters
string$textHTML document fragment to clean up
Returns
string The corrected HTML output

Reimplemented from MediaWiki\Tidy\TidyDriverBase.

Definition at line 15 of file Html5Internal.php.

Member Data Documentation

◆ $balancer

MediaWiki\Tidy\Html5Internal::$balancer
private

Definition at line 6 of file Html5Internal.php.


The documentation for this class was generated from the following file: