1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-09 16:56:20 +02:00

[3.1.0] Implement Proprietary HTML module with <marquee>

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1572 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-20 00:53:09 +00:00
parent f2863557f5
commit b5f1c76ee8
6 changed files with 82 additions and 1 deletions

View File

@ -213,6 +213,12 @@ class HTMLPurifier_HTMLModuleManager
// merge in custom modules
$modules = array_merge($modules, $this->userModules);
// add proprietary module (this gets special treatment because
// it is completely removed from doctypes, etc.)
if ($config->get('HTML', 'Proprietary')) {
$modules[] = 'Proprietary';
}
foreach ($modules as $module) {
$this->processModule($module);
}