summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2011-11-17 16:40:43 +0000
committerUrban Müller2011-11-17 16:40:43 +0000
commit80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77 (patch)
tree266787879c318fa0b82db4dc53c30f5067765a1e /it_html.class
parent8922fa4934a13154c6759147b761b8b92a3920f8 (diff)
downloaditools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.tar.gz
itools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.tar.bz2
itools-80d83dfc4ff9e0b4862e9abe7a8ea76ef10f0b77.zip
title attributes kill <style>
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 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";