ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HTMLPurifier.func.php
Go to the documentation of this file.
1<?php
2
16function HTMLPurifier($html, $config = null)
17{
18 static $purifier = false;
19 if (!$purifier) {
20 $purifier = new HTMLPurifier();
21 }
22 return $purifier->purify($html, $config);
23}
24
25// vim: et sw=4 sts=4
HTMLPurifier($html, $config=null)
Purify HTML.
$html
Definition: example_001.php:87