private static function GetHTMLPurifierConfig() {
		$defaultConfig = \HTMLPurifier_Config::createDefault();

		$customConfig = Config::inst()->get('g4b0\HtmlPurifier\Purifier', 'html_purifier_config');

		if(is_array($customConfig)) {
			foreach ($customConfig as $key => $value) {
				$defaultConfig->set($key, $value);
			}
		}

		return $defaultConfig;
	}
private static function GetHTMLPurifierConfig() {
		$defaultConfig = \HTMLPurifier_Config::createDefault();

		$customConfig = Config::inst()->get('g4b0\HtmlPurifier\Purifier', 'html_purifier_config');

		if(is_array($customConfig)) {
			foreach ($customConfig as $key => $value) {
				$defaultConfig->set($key, $value);
			}
		}

		return $defaultConfig;
	}
private static function GetHTMLPurifierConfig ( ) { $ defaultConfig = \ HTMLPurifier_Config :: createDefault ( ) ; $ customConfig = Config :: inst ( ) -> get ( 'g4b0\HtmlPurifier\Purifier' , 'html_purifier_config' ) ; if ( is_array ( $ customConfig ) ) { foreach ( $ customConfig as $ key => $ value ) { $ defaultConfig -> set ( $ key , $ value ) ; } } return $ defaultConfig ; }
Get the HTML Purifier config
@return \HTMLPurifier_Config
Get the HTML Purifier config