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