diff --git a/library/HTMLPurifier/Printer/HTMLDefinition.php b/library/HTMLPurifier/Printer/HTMLDefinition.php index cb327cb6..0b704c0d 100644 --- a/library/HTMLPurifier/Printer/HTMLDefinition.php +++ b/library/HTMLPurifier/Printer/HTMLDefinition.php @@ -1,7 +1,6 @@ config =& $config; - if (isset($_GET['x'])) { // hidden settings - $this->def = new HTMLPurifier_XHTMLDefinition($config); - $this->def->setup($config); - } else { - $this->def = $config->getHTMLDefinition(); - } + $this->def = $config->getHTMLDefinition(); $def =& $this->def; $ret .= $this->start('div', array('class' => 'HTMLPurifier_Printer'));