      /**      * @param string $ns      * @param string $directive      * @param string $value      * @param string $name      * @param HTMLPurifier_Config|array $config      * @return string      */     public function render($ns, $directive, $value, $name, $config)     {         if (is_array($config) && isset($config[0])) {             $gen_config = $config[0];             $config = $config[0];         } else {             $gen_config = $config;         }         $this->prepareGenerator($gen_config);          $ret = '';         $ret .= $this->start('label', array('for' => "$name:N