function setup() { parent::setup(); // there is no AutoFormat.SafeObject directive $this->config->set('AutoFormat.Custom', array(new HTMLPurifier_Injector_SafeObject())); $this->config->set('HTML.Trusted', true); }
public function setup() { parent::setup(); $this->config->set('AutoFormat.AutoParagraph', true); }
function setup() { parent::setup(); $this->config->set('AutoFormat', 'PurifierLinkify', true); $this->config->set('AutoFormatParam', 'PurifierLinkifyDocURL', '#%s'); }
function setup() { parent::setup(); $this->config->set('AutoFormat.DisplayLinkURI', true); }
public function setup() { parent::setup(); $this->config->set('AutoFormat.RemoveEmpty', true); }
function setup() { parent::setup(); $this->config->set('AutoFormat.Linkify', true); }
function setup() { parent::setup(); $this->config->set('HTML.Allowed', 'span[class],div,p,strong,em'); $this->config->set('AutoFormat.RemoveSpansWithoutAttributes', true); }
public function setup() { parent::setup(); $this->config->set('AutoFormat.PurifierLinkify', true); $this->config->set('AutoFormat.PurifierLinkify.DocURL', '#%s'); }