diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/it_html.class b/it_html.class index 35a5b11..670054c 100644 --- a/it_html.class +++ b/it_html.class @@ -110,7 +110,7 @@ function it_html($p = array()) foreach (array_merge(explode(',', $this->p['tags']), explode(',', $this->p['moretags'])) as $func) { if (!function_exists($func) && $func) - $code[$func] = "function $func() { \$args = func_get_args(); return \$GLOBALS['{$this->p['name']}']->fasttag ? it_tag('$func', \$args) : \$GLOBALS['{$this->p['name']}']->_tag('$func', \$args); }"; + $code[$func] = "function $func() { \$args = func_get_args(); return \$GLOBALS['{$this->p['name']}']->_tag('$func', \$args); }"; } # Create global functions for it_html methods @@ -142,7 +142,6 @@ static function configure($p) $ithtml->p = $p + (array)$ithtml->p; $ithtml->hasnonewline = array_flip(explode(',', $ithtml->p['nonewlinetags'])); $ithtml->alwaysclose = array_flip(explode(',', $ithtml->p['alwaysclosetags'])); - $ithtml->fasttag = function_exists("it_tag") && ($GLOBALS['debug_fasttag'] || ($ithtml->p['name'] == "it_html" && !$ithtml->p['srclines'] && !$GLOBALS['debug_utf8check'] && $ithtml->p['charset'] == "utf-8" && !$ithtml->p['prettyprint'])); } /** @@ -287,9 +286,6 @@ function body($args) */ function _tag($name, $args) { - if ($this->fasttag) - return it_tag($name, $args); - list($data, $attr) = it_parse_args($args); $newline = isset($this->hasnonewline[$name]) ? "" : "\n"; |