Add vim modelines to all files.
[htmlpurifier/bfroehle.git] / library / HTMLPurifier / HTMLModule / Tidy / Strict.php
blobc73dc3c4d19a93715f674a0eb7d2acb1185bd258
1 <?php
3 class HTMLPurifier_HTMLModule_Tidy_Strict extends HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
5 public $name = 'Tidy_Strict';
6 public $defaultLevel = 'light';
8 public function makeFixes() {
9 $r = parent::makeFixes();
10 $r['blockquote#content_model_type'] = 'strictblockquote';
11 return $r;
14 public $defines_child_def = true;
15 public function getChildDef($def) {
16 if ($def->content_model_type != 'strictblockquote') return parent::getChildDef($def);
17 return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model);
21 // vim: et sw=4 sts=4