diff options
author | Urban Müller | 2008-10-20 12:52:54 +0000 |
---|---|---|
committer | Urban Müller | 2008-10-20 12:52:54 +0000 |
commit | 3c524c5306085ebdbf112937e11d2751fca51d4d (patch) | |
tree | ac3ae05840f41b611cd18a59f21241529a7daf98 | |
parent | cf0bb27b32d827f18a8f8072c873dfeb23c7ebca (diff) | |
download | itools-3c524c5306085ebdbf112937e11d2751fca51d4d.tar.gz itools-3c524c5306085ebdbf112937e11d2751fca51d4d.tar.bz2 itools-3c524c5306085ebdbf112937e11d2751fca51d4d.zip |
validate when srclines is on
-rw-r--r-- | it_html.class | 2 |
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"; |