summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2014-07-02 16:38:46 +0200
committerUrban Müller2014-07-02 16:38:46 +0200
commit5bf117daa1acfdab4df2de48ca15b87d9515ad26 (patch)
treef56567a13db4d308831aee6c6a7ad04f9d20ebfe /it_html.class
parent9f36968adaff3bea483541496b48f5fb39387bad (diff)
downloaditools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.tar.gz
itools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.tar.bz2
itools-5bf117daa1acfdab4df2de48ca15b87d9515ad26.zip
add list of void tags for later use and for html parsers
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class1
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