summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2008-10-20 12:52:54 +0000
committerUrban Müller2008-10-20 12:52:54 +0000
commit3c524c5306085ebdbf112937e11d2751fca51d4d (patch)
treeac3ae05840f41b611cd18a59f21241529a7daf98 /it_html.class
parentcf0bb27b32d827f18a8f8072c873dfeb23c7ebca (diff)
downloaditools-3c524c5306085ebdbf112937e11d2751fca51d4d.tar.gz
itools-3c524c5306085ebdbf112937e11d2751fca51d4d.tar.bz2
itools-3c524c5306085ebdbf112937e11d2751fca51d4d.zip
validate when srclines is on
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";