summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2014-12-02 02:17:46 +0100
committerUrban Müller2014-12-02 02:17:46 +0100
commit7c7ea13338e9a541fadd807c599eecadd6a962a7 (patch)
treefd4458363d5018d0f55a9b780cbdb95db414f437 /it_html.class
parent1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4 (diff)
downloaditools-7c7ea13338e9a541fadd807c599eecadd6a962a7.tar.gz
itools-7c7ea13338e9a541fadd807c599eecadd6a962a7.tar.bz2
itools-7c7ea13338e9a541fadd807c599eecadd6a962a7.zip
close <button>s without content
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 7ab25a2..1679886 100644
--- a/it_html.class
+++ b/it_html.class
@@ -76,7 +76,7 @@ function it_html($p = array())
'moretags' => '', # Comma-separated list of tag-functions to generate additionally to 'tags'
'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
- 'alwaysclosetags' => 'a,div,iframe,pre,script,span,tbody,td,tfoot,thead,textarea', # tags which always get a close tag
+ 'alwaysclosetags' => 'a,button,div,iframe,pre,script,span,tbody,td,tfoot,thead,textarea,ul', # tags which always get a close tag
'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