MDL-31785 import HTMLPurifier 4.4.0+

Includes one extra fix for _blank 8c9d461a6259d7b8ac4ae5c9c9e95ab176cfcda3 compared to 4.4.0 release.
This commit is contained in:
Petr Skoda
2012-02-28 14:26:19 +01:00
parent 5bbf3cb72b
commit e9df54952c
46 changed files with 1026 additions and 236 deletions
@@ -37,6 +37,9 @@ class HTMLPurifier_HTMLModule_Tables extends HTMLPurifier_HTMLModule
'abbr' => 'Text',
'colspan' => 'Number',
'rowspan' => 'Number',
// Apparently, as of HTML5 this attribute only applies
// to 'th' elements.
'scope' => 'Enum#row,col,rowgroup,colgroup',
),
$cell_align
);