Created
February 2, 2012 14:21
-
-
Save mikedfunk/1723681 to your computer and use it in GitHub Desktop.
Revisions
-
mikedfunk revised this gist
Feb 15, 2012 . No changes.There are no files selected for viewing
-
mikedfunk revised this gist
Feb 15, 2012 . No changes.There are no files selected for viewing
-
mikedfunk created this gist
Feb 2, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ // html purifier require_once $this->fcpath.$this->apppath.'libraries/htmlpurifier/library/HTMLPurifier.auto.php'; $this->ci->htmlpurifier = new HTMLPurifier(); $config = HTMLPurifier_Config::createDefault(); $this->html = $this->ci->htmlpurifier->purify($this->html, $config);