3 class HTMLPurifier_HTMLModule_Tidy_Strict extends HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
8 public $name = 'Tidy_Strict';
13 public $defaultLevel = 'light';
18 public function makeFixes()
20 $r = parent::makeFixes();
21 $r['blockquote#content_model_type'] = 'strictblockquote';
28 public $defines_child_def = true;
31 * @param HTMLPurifier_ElementDef $def
32 * @return HTMLPurifier_ChildDef_StrictBlockquote
34 public function getChildDef($def)
36 if ($def->content_model_type != 'strictblockquote') {
37 return parent::getChildDef($def);
39 return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model);