diff options
author | Urban Müller | 2014-07-02 16:38:46 +0200 |
---|---|---|
committer | Urban Müller | 2014-07-02 16:38:46 +0200 |
commit | 5bf117daa1acfdab4df2de48ca15b87d9515ad26 (patch) | |
tree | f56567a13db4d308831aee6c6a7ad04f9d20ebfe | |
parent | 9f36968adaff3bea483541496b48f5fb39387bad (diff) | |
download | itools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.tar.gz itools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.tar.bz2 itools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.zip |
add list of void tags for later use and for html parsers
-rw-r--r-- | it_html.class | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/it_html.class b/it_html.class index b12d736..f02b540 100644 --- a/it_html.class +++ b/it_html.class @@ -54,6 +54,7 @@ function it_parse_args($args) class it_html { + static $voidtags = array('area' => 1, 'base' => 1, 'br' => 1, 'col' => 1, 'command' => 1, 'embed' => 1, 'hr' => 1, 'img' => 1, 'input' => 1, 'keygen' => 1, 'link' => 1, 'meta' => 1, 'param' => 1, 'source' => 1, 'track' => 1, 'wbr' => 1); # need no closing tag /** * Create a HTML object and global functions for all methods (exlcluding |