3 header('Content-type: text/html; charset=UTF-8');
5 if (!isset($_GET['standalone'])) {
6 require_once '../library/HTMLPurifier.auto.php';
8 require_once '../library/HTMLPurifier.standalone.php';
10 error_reporting(E_ALL
);
12 function escapeHTML($string) {
13 $string = HTMLPurifier_Encoder
::cleanUTF8($string);
14 $string = htmlspecialchars($string, ENT_COMPAT
, 'UTF-8');