- Fix problem with parsing HTML message body with non-unicode characters (#1487813)
1 files added
3 files modified
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Fix problem with parsing HTML message body with non-unicode characters (#1487813) |
| | | - Add option to define matching method for addressbook search (#1486564, #1487907) |
| | | - Make email recipients separator configurable |
| | | - Fix so folders with \Noinferiors attribute aren't listed in parent selector |
| | |
| | | if (!$p['skip_washer_style_callback']) |
| | | $washer->add_callback('style', 'rcmail_washtml_callback'); |
| | | |
| | | // Remove non-UTF8 characters (#1487813) |
| | | $html = rc_utf8_clean($html); |
| | | |
| | | $html = $washer->wash($html); |
| | | $REMOTE_OBJECTS = $washer->extlinks; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * Test washtml class on non-unicode characters (#1487813) |
| | | */ |
| | | function test_washtml_utf8() |
| | | { |
| | | $part = $this->get_html_part('src/invalidchars.html'); |
| | | $washed = rcmail_print_body($part); |
| | | |
| | | $this->assertPattern('/<p>символ<\/p>/', $washed, "Remove non-unicode characters from HTML message body"); |
| | | } |
| | | |
| | | /** |
| | | * Test links pattern replacements in plaintext messages |
| | | */ |
| | | function test_plaintext() |
New file |
| | |
| | | <p>ÑимÐвол</p> |