1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-05 05:37:49 +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:
Edward Z. Yang
2007-02-04 22:08:51 +00:00
parent 9d8f839bf2
commit 236159242f
3 changed files with 27 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ extends HTMLPurifier_ChildDef_Required
if (!$this->init) {
// allow all inline elements
$this->real_elements = $this->elements;
$this->fake_elements = $def->content_sets['Flow'];
$this->fake_elements = $def->info_content_sets['Flow'];
$this->fake_elements['#PCDATA'] = true;
$this->init = true;
}