From 9ef5fa51fbe41452fc66ff939dca43a2085ce0fa Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 21 Apr 2010 13:56:53 +0000 Subject: - fix 0 (#1486645) --- program/lib/washtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/washtml.php b/program/lib/washtml.php index 2acb7529f..fbbfa43c9 100644 --- a/program/lib/washtml.php +++ b/program/lib/washtml.php @@ -213,7 +213,7 @@ class washtml } else if(isset($this->_html_elements[$tagName])) { $content = $this->dumpHtml($node); $dump .= '<' . $tagName . $this->wash_attribs($node) . - ($content || isset($this->_block_elements[$tagName]) ? ">$content" : ' />'); + ($content != '' || isset($this->_block_elements[$tagName]) ? ">$content" : ' />'); } else if(isset($this->_ignore_elements[$tagName])) { $dump .= ''; } else { -- cgit v1.2.3