summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class
index 38dae0a..6da0b62 100644
--- a/it_html.class
+++ b/it_html.class
@@ -259,7 +259,7 @@ function _tag($name, $args)
$data = str_replace("\n", "\n ", "\n" . trim($data)) . "\n";
# debugging aid: add backtrace
- if ($levels = intval($GLOBALS['debug_srclines']))
+ if (($levels = intval($GLOBALS['debug_srclines'])) && !it::match('^(head|meta|title|script)', $name))
$attr = array('title' => it_debug::backtrace(array('levels' => $levels, 'skipfiles' => "_html\\.class"))) + $attr;
$result .= "<$name";