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:58 +0200 |
commit | 550bf0d14b5ab70beb088611cd2fc1d239c104e3 (patch) | |
tree | 6e8d472d87fa4067eb1ab816c64e0f8f52969b29 /program/steps/settings | |
parent | 6f62715f9d9f69a052a9a61674f7cc36b7c63feb (diff) |
- Fix HTML entities handling in HTML editor (#1488483)
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/edit_identity.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc index f594525e1..c3ac4688f 100644 --- a/program/steps/settings/edit_identity.inc +++ b/program/steps/settings/edit_identity.inc @@ -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; |