diff options
author | Christian Weber | 2012-02-11 16:15:28 +0000 |
---|---|---|
committer | Christian Weber | 2012-02-11 16:15:28 +0000 |
commit | 3207842eeab9de8c558d23506ecc38cbe1ad8035 (patch) | |
tree | 943d461e3b7e3151f6c52279f306758b7e7ea2ce | |
parent | 4bb571a705853eddc9b7fed784142e85f8b2d7d1 (diff) | |
download | itools-3207842eeab9de8c558d23506ecc38cbe1ad8035.tar.gz itools-3207842eeab9de8c558d23506ecc38cbe1ad8035.tar.bz2 itools-3207842eeab9de8c558d23506ecc38cbe1ad8035.zip |
complete table support by adding tfoot()
-rw-r--r-- | it_html.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index 5bbd038..0951e6b 100644 --- a/it_html.class +++ b/it_html.class @@ -54,7 +54,7 @@ function it_html($p = array()) 'show_favicon' => true, # If true, add <link> tag to /favicon.ico if it exists 'favicon' => '', # If set, add favicon <link> tag to this url 'staticallycallable' => 'Q,U,select', # Those methods are statically callable (have same arguments as global stubs) but are a bit slower - 'tags' => 'a,b,br,button,div,em,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,label,legend,li,meta,noscript,p,span,style,table,tbody,td,textarea,th,thead,tr,ul', + 'tags' => 'a,b,br,button,div,em,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,label,legend,li,meta,noscript,p,span,style,table,tbody,td,textarea,tfoot,th,thead,tr,ul', 'title' => '', # HTML title (default: no title added) 'use_it_state' => false, # If true, generate code needed by state.js (aka 'history iframe') ); @@ -305,7 +305,7 @@ function _tag($name, $args) } # Apply a kind of magic... this needs further investigation - if (isset($data) || preg_match('/^(a|div|iframe|pre|script|span|tbody|td|thead|textarea)$/i', $name)) + if (isset($data) || preg_match('/^(a|div|iframe|pre|script|span|tbody|td|tfoot|thead|textarea)$/i', $name)) $result .= ">$data</$name>$newline"; elseif ($this->p['htmltype'] == 'html') $result .= ">$newline"; |