diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-05-22 09:06:02 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-22 09:06:02 +0200 |
commit | 5c7e54b1756367a502367a2918a77fdb3dba4ee2 (patch) | |
tree | 63435d990693bad885aaa3f41b6fa2289a60d8d5 /program/steps/mail/compose.inc | |
parent | 5fed074a45cb9f3a7e4ade86166a0f04d05243b7 (diff) |
- Fix HTML entities handling in HTML editor (#1488483)
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index c0a5bf7bc..47d97faad 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -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); |