'; ?> HTML Purifier Preserve YouTube Smoketest

HTML Purifier Preserve YouTube Smoketest

'; $regular_purifier = new HTMLPurifier(); $safeobject_purifier = new HTMLPurifier(array( 'HTML.SafeObject' => true, 'Output.FlashCompat' => true, )); ?>

Unpurified

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

Without YouTube exception

purify($string); ?>

With SafeObject exception and flash compatibility

purify($string); ?>