MediaWiki  master
MWTidy.php
Go to the documentation of this file.
1 <?php
25 
31 class MWTidy {
43  public static function tidy( $text ) {
44  return MediaWikiServices::getInstance()->getTidy()->tidy( $text );
45  }
46 }
Class to interact with and configure Remex tidy.
Definition: MWTidy.php:31
static tidy( $text)
Interface with Remex tidy.
Definition: MWTidy.php:43
Service locator for MediaWiki core services.