diff options
-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"; |