Using the latest release of HTMLPurifier with default config.
The following code is oh-blank, white pages in the flush, am I forgetting something? Even if I set up HTML Written on Lite or none , it still breaks. There is a partial log of error throwing while attempting to purify the code given below:
For reference, here is the associated code that I am using:
$ Config = New HTMLPurifier_Config (new HTMLPurifier_ConfigSchema ()); $ Config- & gt; Set ('HTML.TidLevel', 'light'); // Break with any level, even 'none' manually: $ net = new HTMLPurifier ($ config); Auto: $ pure-> Pure ($ str); // $ str contains the code below and finally, the offensive code:
Delete your htmlpurifier directory and install a fresh copy from the turball.
Comments
Post a Comment