issue 1860 purifier definition error fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11889 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-10-25 02:49:44 +00:00
parent 9705b6abf1
commit f0376dfa7f

View file

@ -38,12 +38,12 @@ class Purifier
$this->_config->set('URI.SafeIframeRegexp', $whiteDomainRegex);
$this->_config->set('Cache.SerializerPath', $this->_cacheDir);
$this->_config->set('Attr.AllowedClasses', $allowdClasses);
$this->_def = $this->_config->getHTMLDefinition(true);
}
private function _setDefinition(&$content)
{
$this->_def = $this->_config->getHTMLDefinition(true);
// add attribute for edit component
$editComponentAttrs = $this->_searchEditComponent($content);
if(is_array($editComponentAttrs))