diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-21 13:56:53 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-21 13:56:53 +0000 |
| commit | 2eb8bd7fdfe825b75985e6d8b89a02d665a5c97d (patch) | |
| tree | 26c2d54d3d05af709cfd987753c236ce21274f93 | |
| parent | 5dfde34254217204bcdec42a2c4165e57a4dfebd (diff) | |
- fix <span>0</span> (#1486645)
git-svn-id: https://svn.roundcube.net/trunk@3521 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/lib/washtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/washtml.php b/roundcubemail/program/lib/washtml.php index 2acb7529f..fbbfa43c9 100644 --- a/roundcubemail/program/lib/washtml.php +++ b/roundcubemail/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</$tagName>" : ' />'); + ($content != '' || isset($this->_block_elements[$tagName]) ? ">$content</$tagName>" : ' />'); } else if(isset($this->_ignore_elements[$tagName])) { $dump .= '<!-- ' . htmlspecialchars($tagName, ENT_QUOTES) . ' not allowed -->'; } else { |
