'; ?> HTML Purifier Preserve YouTube Smoketest

HTML Purifier Preserve YouTube Smoketest

'; $regular_purifier = new HTMLPurifier(); $youtube_purifier = new HTMLPurifier(array( 'Filter.YouTube' => true, )); ?>

Unpurified

Click here to see the unpurified version (breaks validation).

Without YouTube exception

purify($string); ?>

With YouTube exception

purify($string); ?>