diff options
author | Urban Müller | 2011-11-17 16:40:43 +0000 |
---|---|---|
committer | Urban Müller | 2011-11-17 16:40:43 +0000 |
commit | 80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77 (patch) | |
tree | 266787879c318fa0b82db4dc53c30f5067765a1e | |
parent | 8922fa4934a13154c6759147b761b8b92a3920f8 (diff) | |
download | itools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.tar.gz itools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.tar.bz2 itools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.zip |
title attributes kill <style>
-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 5818607..2bfc22d 100644 --- a/it_html.class +++ b/it_html.class @@ -283,7 +283,7 @@ function _tag($name, $args) $data = str_replace("\n", "\n ", "\n" . trim($data)) . "\n"; # debugging aid: add backtrace - if (($levels = intval($GLOBALS['debug_srclines'])) && !it::match('^(head|meta|title|script)', $name)) + if (($levels = intval($GLOBALS['debug_srclines'])) && !it::match('^(head|meta|title|script|style|link)', $name)) $attr = array('title' => it_debug::backtrace(array('levels' => max(3, $levels), 'skipfiles' => "_html\\.class"))) + $attr; $result .= "<$name"; |