mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-10-15 14:14:24 +02:00
Enforce info_ prefix convention for data that is accessed by HTML Purifier internals.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@720 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -53,13 +53,6 @@ class HTMLPurifier_XHTMLDefinition extends HTMLPurifier_HTMLDefinition
|
||||
*/
|
||||
var $attr_collection;
|
||||
|
||||
/**
|
||||
* Nested lookup array of content set name (Block, Inline) to
|
||||
* element name to whether or not it belongs in that content set.
|
||||
* @public
|
||||
*/
|
||||
var $content_sets;
|
||||
|
||||
/**
|
||||
* Performs low-cost, preliminary initialization.
|
||||
* @param $config Instance of HTMLPurifier_Config
|
||||
@@ -120,7 +113,7 @@ class HTMLPurifier_XHTMLDefinition extends HTMLPurifier_HTMLDefinition
|
||||
$content_sets_keys = array_keys($content_sets);
|
||||
$content_sets_values = array_values($content_sets);
|
||||
foreach ($content_sets as $name => $set) {
|
||||
$this->content_sets[$name] = $this->convertToLookup($set);
|
||||
$this->info_content_sets[$name] = $this->convertToLookup($set);
|
||||
}
|
||||
|
||||
foreach ($this->modules as $module_i => $module) {
|
||||
|
Reference in New Issue
Block a user