mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Minor tweaks to documentation and Enum (case-sensitivity is now boolean).
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@128 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -60,6 +60,8 @@ class HTMLPurifier_Definition
|
||||
// and also know the assumptions the code makes about what this
|
||||
// contains for optimization purposes (see fixNesting)
|
||||
|
||||
// child info
|
||||
|
||||
$e_special_extra = 'img';
|
||||
$e_special_basic = 'br | span | bdo';
|
||||
$e_special = "$e_special_basic | $e_special_extra";
|
||||
@@ -153,6 +155,10 @@ class HTMLPurifier_Definition
|
||||
|
||||
$this->info['child']['a'] = $e_a_content;
|
||||
|
||||
// attribute info
|
||||
|
||||
$a_dir = new HTMLPurifier_AttrDef_Enum(array('ltr','rtl'), false);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user