Changeset 7f62581 in github
- Timestamp:
- Sep 17, 2008 3:47:32 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- c9e7c74
- Parents:
- e11bc4a
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/lib/washtml.php (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rd93fc99 r7f62581 10 10 - Added Reply-To to forwarded emails (#1485315) 11 11 - Display progress message for folders create/delete/rename (#1485357) 12 - Smart Tags and NOBR tag support in html messages (#1485363, #1485327) 12 13 13 14 2008/09/15 (thomasb) -
program/lib/washtml.php
ra47acc5 r7f62581 75 75 { 76 76 /* Allowed HTML elements (default) */ 77 static $html_elements = array('a', 'abbr', 'acronym', 'address', 'area', 'b', 'basefont', 'bdo', 'big', 'blockquote', 'br', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'ins', 'label', 'legend', 'li', 'map', 'menu', ' ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'img');77 static $html_elements = array('a', 'abbr', 'acronym', 'address', 'area', 'b', 'basefont', 'bdo', 'big', 'blockquote', 'br', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'ins', 'label', 'legend', 'li', 'map', 'menu', 'nobr', 'ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'img'); 78 78 79 79 /* Ignore these HTML tags but process their content */ -
program/steps/mail/func.inc
rd734041f r7f62581 612 612 $html = preg_replace('/<title>.*<\/title>/', '', $html); 613 613 614 // special replacements (not properly handled by washtml class) 615 $html_search = array( 616 '/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR> 617 '/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1> 618 ); 619 $html_replace = array( 620 '\\1'.' '.'\\3', 621 '', 622 ); 623 $html = preg_replace($html_search, $html_replace, $html); 624 614 625 // clean HTML with washhtml by Frederic Motte 615 626 $wash_opts = array(
Note: See TracChangeset
for help on using the changeset viewer.
