Changeset be6f3a9 in github
- Timestamp:
- Jun 23, 2010 2:57:45 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 5c02401
- Parents:
- 5a74dc8
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/lib/washtml.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rf767654 rbe6f3a9 2 2 =========================== 3 3 4 - Improve parsing of styled empty tags in HTML messages (#1486812) 4 5 - Add %dc variable support in base_dn/bind_dn config (#1486779) 5 6 - Add button to hide/unhide the preview pane (#1484215) -
program/lib/washtml.php
ra0d29e5 rbe6f3a9 90 90 91 91 /* Block elements which could be empty but cannot be returned in short form (<tag />) */ 92 static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font' );92 static $block_elements = array('div', 'p', 'pre', 'blockquote', 'a', 'font', 'center', 'table', 'ul', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'dl'); 93 93 94 94 /* State for linked objects in HTML */ … … 227 227 $content = $this->dumpHtml($node); 228 228 $dump .= '<' . $tagName . $this->wash_attribs($node) . 229 ($content != '' || isset($this->_block_elements[$tagName]) ? ">$content</$tagName>" : ' />'); 229 // create closing tag for block elements, but also for elements 230 // with content or with some attributes (eg. style, class) (#1486812) 231 ($content != '' || $node->hasAttributes() || isset($this->_block_elements[$tagName]) ? ">$content</$tagName>" : ' />'); 230 232 } 231 233 else if (isset($this->_ignore_elements[$tagName])) {
Note: See TracChangeset
for help on using the changeset viewer.
