alecpl
2010-04-21 9ef5fa51fbe41452fc66ff939dca43a2085ce0fa
- fix <span>0</span> (#1486645)


1 files modified
2 ■■■ changed files
program/lib/washtml.php 2 ●●● patch | view | raw | blame | history
program/lib/washtml.php
@@ -213,7 +213,7 @@
        } 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 {