diff --git a/felamimail/inc/class.felamimail_bo.inc.php b/felamimail/inc/class.felamimail_bo.inc.php
index a0d0e840cf..af1e9d2672 100644
--- a/felamimail/inc/class.felamimail_bo.inc.php
+++ b/felamimail/inc/class.felamimail_bo.inc.php
@@ -4604,6 +4604,8 @@ class felamimail_bo
$newBody = $matches[2];
}
$htmLawed = new egw_htmLawed();
+ // the next line should not be needed
+ $newBody = str_replace(array('&','
',"
",'
'),array('&','
','
','
'),$newBody);
$newBody = $htmLawed->egw_htmLawed($newBody);
if ($hasOther && $preserveHTML) $newBody = $matches[1]. $newBody. $matches[3];
}
diff --git a/felamimail/inc/class.uisieve.inc.php b/felamimail/inc/class.uisieve.inc.php
index 00c6803b21..07f4aec037 100644
--- a/felamimail/inc/class.uisieve.inc.php
+++ b/felamimail/inc/class.uisieve.inc.php
@@ -1088,7 +1088,7 @@
$this->t->set_var("lang_discard_message",lang('discard message'));
$this->t->set_var("lang_select_folder",lang('select folder'));
$this->t->set_var("lang_vacation_forwards",lang('Forward messages to').'
'.lang('(separate multiple addresses by comma)').":");
-
+ $this->t->set_var("lang_email_notification_settings",lang('email notification settings'));
$this->t->set_var("bg01",$GLOBALS['egw_info']["theme"]["bg01"]);
$this->t->set_var("bg02",$GLOBALS['egw_info']["theme"]["bg02"]);
$this->t->set_var("bg03",$GLOBALS['egw_info']["theme"]["bg03"]);
diff --git a/felamimail/lang/egw_de.lang b/felamimail/lang/egw_de.lang
index 46c009329a..28f3faa4ee 100644
--- a/felamimail/lang/egw_de.lang
+++ b/felamimail/lang/egw_de.lang
@@ -169,6 +169,8 @@ edit vacation settings felamimail de Abwesenheitsnotiz bearbeiten
editor type felamimail de Editortyp
email address felamimail de E-Mail-Adresse
email forwarding address felamimail de Zieladresse
+email notification felamimail de eMail Benachrichtigung
+email notification settings felamimail de Einstellungen: eMail Benachrichtigung
email notification update failed felamimail de Die Benachrichtigung über den Gelesen-Status der E-Mail ist fehlgeschlagen.
email signature felamimail de E-Mail-Signatur
emailaddress felamimail de E-Mail-Adresse
diff --git a/felamimail/lang/egw_en.lang b/felamimail/lang/egw_en.lang
index f808a6de86..7f4b50fdf7 100644
--- a/felamimail/lang/egw_en.lang
+++ b/felamimail/lang/egw_en.lang
@@ -169,6 +169,8 @@ edit vacation settings felamimail en Edit vacation settings
editor type felamimail en Editor type
email address felamimail en Email address
email forwarding address felamimail en Email forwarding address
+email notification felamimail en email notification
+email notification settings felamimail en email notification settings
email notification update failed felamimail en Email notification update failed
email signature felamimail en Email signature
emailaddress felamimail en Email address
diff --git a/felamimail/templates/default/sieveForm.tpl b/felamimail/templates/default/sieveForm.tpl
index c40354a764..437c369fc0 100644
--- a/felamimail/templates/default/sieveForm.tpl
+++ b/felamimail/templates/default/sieveForm.tpl
@@ -331,7 +331,7 @@ function submitIt()