- Fix HTML entities handling in HTML editor (#1488483)

pull/17/head
Aleksander Machniak 12 years ago
parent 6f62715f9d
commit 550bf0d14b

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix HTML entities handling in HTML editor (#1488483)
- Fix listing shared folders on Courier IMAP (#1488466)
RELEASE 0.8-rc

@ -770,6 +770,7 @@ function rcmail_compose_body($attrib)
// If desired, set this textarea to be editable by TinyMCE
if ($isHtml) {
$MESSAGE_BODY = htmlentities($MESSAGE_BODY, ENT_NOQUOTES, RCMAIL_CHARSET);
$attrib['class'] = 'mce_editor';
$textarea = new html_textarea($attrib);
$out .= $textarea->show($MESSAGE_BODY);

@ -91,6 +91,8 @@ function rcube_identity_form($attrib)
$form['signature']['content']['signature']['class'] = 'mce_editor';
}
$IDENTITY_RECORD['signature'] = htmlentities($IDENTITY_RECORD['signature'], ENT_NOQUOTES, RCMAIL_CHARSET);
// disable some field according to access level
if (IDENTITIES_LEVEL == 1 || IDENTITIES_LEVEL == 3) {
$form['addressing']['content']['email']['disabled'] = true;

Loading…
Cancel
Save