silverstripe-cms/tests/model/SiteTreeTest_NullHtmlCleaner.php

13 lines
232 B
PHP
Raw Normal View History

<?php
use SilverStripe\Dev\TestOnly;
use SilverStripe\View\Parsers\HTMLCleaner;
class SiteTreeTest_NullHtmlCleaner extends HTMLCleaner implements TestOnly
{
public function cleanHTML($html)
{
return $html;
}
}