diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2012-08-08 21:29:40 +0200 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2012-08-08 21:29:40 +0200 |
commit | 2c89ca7298ea693facc0f72c32c71f2bdcaff329 (patch) | |
tree | 008612e136af9f162359e4f0b20328fd27139d5a /program/steps/settings/edit_identity.inc | |
parent | e8cab44de0b3d8dbff7a091a743fab0d644d5267 (diff) |
Backporting: Fix HTML entities handling in HTML editor (#1488483)
Diffstat (limited to 'program/steps/settings/edit_identity.inc')
-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 a42e8d091..0b715350e 100644 --- a/program/steps/settings/edit_identity.inc +++ b/program/steps/settings/edit_identity.inc @@ -88,6 +88,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; |