Skip to content

Instantly share code, notes, and snippets.

@kjunggithub
Created May 22, 2014 04:25
Show Gist options
  • Save kjunggithub/ded366a35a1b9d741f06 to your computer and use it in GitHub Desktop.
Save kjunggithub/ded366a35a1b9d741f06 to your computer and use it in GitHub Desktop.
purifier config
<?php
/*
* This file is part of HTMLPurifier Bundle.
* (c) 2012 Maxime Dizerens
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return array(
'encoding' => 'UTF-8',
'settings' => array(
'default' => array(
'Cache.SerializerPath' => storage_path() . '/purifier',
'HTML.Allowed' => 'p,b,a[href],i,blockquote,u,strike,ol,li,ul,br,h1,h2,h3',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment