Changeset 67e5925 in github
- Timestamp:
- Feb 8, 2012 4:06:59 AM (16 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- f359950
- Parents:
- f313614
- File:
-
- 1 edited
-
program/lib/html2text.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/html2text.php
rca0cd05 r67e5925 700 700 701 701 /** 702 * Strtoupper multibyte wrapper function 703 * 704 * @param string705 * @return string 702 * Strtoupper multibyte wrapper function with HTML entities handling 703 * 704 * @param string $str Text to convert 705 * @return string Converted text 706 706 */ 707 707 private function _strtoupper($str) 708 708 { 709 $str = html_entity_decode($str, ENT_COMPAT, RCMAIL_CHARSET); 710 709 711 if (function_exists('mb_strtoupper')) 710 returnmb_strtoupper($str);712 $str = mb_strtoupper($str); 711 713 else 712 return strtoupper($str); 714 $str = strtoupper($str); 715 716 $str = htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET); 717 718 return $str; 713 719 } 714 720 }
Note: See TracChangeset
for help on using the changeset viewer.
