From 219902ebff4814bebc2c66ab8438d188ccb3108f Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 4 Feb 2007 23:18:53 +0000 Subject: [PATCH] Revert back to pre XHTMLDefinition testing state. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@724 48356398-32a2-884e-a903-53898d9a118a --- library/HTMLPurifier/Printer/HTMLDefinition.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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'));