diff options
author | Christian Schneider | 2007-01-25 13:22:34 +0000 |
---|---|---|
committer | Christian Schneider | 2007-01-25 13:22:34 +0000 |
commit | 7c7bd01f8fc22b2c1b2dc1788bfd30a8dc427abf (patch) | |
tree | 06b7d46410174de3b430a707a387ac72c83f0ccc /html.class | |
parent | a86d4feaa8256673bd4cebfca45657d5c7b7eeb3 (diff) | |
download | itools-7c7bd01f8fc22b2c1b2dc1788bfd30a8dc427abf.tar.gz itools-7c7bd01f8fc22b2c1b2dc1788bfd30a8dc427abf.tar.bz2 itools-7c7bd01f8fc22b2c1b2dc1788bfd30a8dc427abf.zip |
Revert empty tag logic to list with browser issues (fixes XML generation)
Diffstat (limited to 'html.class')
-rw-r--r-- | html.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ function _tag($name, $args) } # Apply a kind of magic... this needs further investigation - if (strlen($data) || !preg_match('/^(area|base|basefont|br|col|frame|hr|img|input|isindex|link|meta|param)$/i', $name)) + if (isset($data) || preg_match('/^(a|div|iframe|script|span|td|textarea)$/i', $name)) $result .= ">$data</$name>$newline"; elseif ($this->_oldhtml) $result .= ">$newline"; |