Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion library/HTMLPurifier/HTMLModule/Legacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public function setup($config)

$ol = $this->addBlankElement('ol');
$ol->attr['compact'] = 'Bool#compact';
$ol->attr['start'] = new HTMLPurifier_AttrDef_Integer();
$ol->attr['type'] = 'Enum#s:1,i,I,a,A';

$p = $this->addBlankElement('p');
Expand Down
2 changes: 2 additions & 0 deletions library/HTMLPurifier/HTMLModule/List.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class HTMLPurifier_HTMLModule_List extends HTMLPurifier_HTMLModule
public function setup($config)
{
$ol = $this->addElement('ol', 'List', new HTMLPurifier_ChildDef_List(), 'Common');
$ol->attr['reversed'] = 'Bool#reversed';
$ol->attr['start'] = new HTMLPurifier_AttrDef_Integer();
$ul = $this->addElement('ul', 'List', new HTMLPurifier_ChildDef_List(), 'Common');
// XXX The wrap attribute is handled by MakeWellFormed. This is all
// quite unsatisfactory, because we generated this
Expand Down
Loading