3 require_once 'HTMLPurifier/HTMLModule/Tidy.php';
4 require_once 'HTMLPurifier/ChildDef/StrictBlockquote.php';
6 class HTMLPurifier_HTMLModule_Tidy_XHTMLStrict
extends
7 HTMLPurifier_HTMLModule_Tidy
10 var $name = 'Tidy_XHTMLStrict';
11 var $defaultLevel = 'light';
13 function makeFixes() {
15 $r['blockquote#content_model_type'] = 'strictblockquote';
19 var $defines_child_def = true;
20 function getChildDef($def) {
21 if ($def->content_model_type
!= 'strictblockquote') return false;
22 return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model
);