summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorChristian Weber2012-04-01 13:21:40 +0000
committerChristian Weber2012-04-01 13:21:40 +0000
commitc3025c0c92c428ff29a3e7bf01bcee6a0b75a6ad (patch)
tree3140d8a6366d8a55323ac8fb38830ec54370df26 /it_html.class
parent9c39a2a23c81da0d36070a8cb030ed076cf69bec (diff)
downloaditools-c3025c0c92c428ff29a3e7bf01bcee6a0b75a6ad.tar.gz
itools-c3025c0c92c428ff29a3e7bf01bcee6a0b75a6ad.tar.bz2
itools-c3025c0c92c428ff29a3e7bf01bcee6a0b75a6ad.zip
html prettyprint on devel for better debuggability
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 bbf0b75..4c9f3e7 100644
--- a/it_html.class
+++ b/it_html.class
@@ -48,7 +48,7 @@ function it_html($p = array())
'name' => 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() to keep PHP4 compatibility
'nonewlinetags' => 'a,b,em,img,input,label,span,noscript', # tags that do not like newlines after them
'notexported' => 'configure,sanitize',# Those methods are not exported
- 'prettyprint' => false, # Should output be prettily indented?
+ 'prettyprint' => it::is_devel(), # Should output be prettily indented?
'show_boot_dom' => false, # If true, append invisible <div id="it_boot_dom"> at the end of body
'show_content_type' => true, # If true, add <meta http-equiv="Content-Type" ...> header
'show_favicon' => true, # If true, add <link> tag to /favicon.ico if it exists