Skip to content

olegatro/html-sanitizer_local_uri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Composer version https://github.com/olegatro/html-sanitizer-relative


Don`t use this repository.

use HtmlSanitizer\Extension\Basic\BasicExtension;
use HtmlSanitizer\Extension\Iframe\IframeExtension;
use HtmlSanitizer\Extension\Listing\ListExtension;
use HtmlSanitizer\Extension\Table\TableExtension;
use Sanitizer\Extension\Image\ImageExtension;
use Sanitizer\Extension\A\AExtension;
use HtmlSanitizer\SanitizerBuilder;


$builder = new SanitizerBuilder();
$builder->registerExtension(new BasicExtension());
$builder->registerExtension(new ListExtension());
$builder->registerExtension(new TableExtension());
$builder->registerExtension(new IframeExtension());
$builder->registerExtension(new ImageExtension());
$builder->registerExtension(new AExtension());

$sanitizer = $builder->build(['extensions' => ['basic', 'list', 'table', 'custom-image', 'custom-a']]);

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages