PressBooks\Modules\Import\Import::tidy PHP Метод

tidy() защищенный Метод

Tidy HTML
protected tidy ( string $html ) : string
$html string
Результат string
    protected function tidy($html)
    {
        // Reduce the vulnerability for scripting attacks
        $config = array('safe' => 1);
        return htmLawed($html, $config);
    }