Fix bug where wrong words were highlighted on spell-before-send check

Conflicts:

	CHANGELOG
pull/40/head
Aleksander Machniak 12 years ago
parent dd82f1b59f
commit ff18a27d6b

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix bug where wrong words were highlighted on spell-before-send check
- Fix scrolling quirk in email preview frame using Opera 12 (#1488763)
- Fix displaying of multipart/alternative messages with empty parts (#1488750)
- Fix Warning: htmlspecialchars(): charset `RCMAIL_CHARSET' not supported warning in Installer (#1488744)

@ -428,6 +428,7 @@ if (!$savedraft) {
if ($CONFIG['spellcheck_before_send'] && $CONFIG['enable_spellcheck']
&& empty($COMPOSE['spell_checked']) && !empty($message_body)
) {
$message_body = str_replace("\r\n", "\n", $message_body);
$spellchecker = new rcube_spellchecker(get_input_value('_lang', RCUBE_INPUT_GPC));
$spell_result = $spellchecker->check($message_body, $isHtml);

Loading…
Cancel
Save