Index: /changelog
===================================================================
--- /changelog	(revision 7594)
+++ /changelog	(revision 7595)
@@ -285,3 +285,5 @@
 - Bugfix: PayPal Zahlung konnte nicht gestartet werden nach BestellabschluÃ
 - Bugfix: Spalte Artikelnummer im Produktbackend ist wieder sichtbar
+- Bugfix: Zeilenabstand vor FuÃtexten in Mails eingebaut
+- Bugfix: Speicherung von FuÃtexten mit HTML mÃ¶glich
 - Feature: URL Benachrichtigung sendet einen User Agent und Referer mit (Wordfence Regel)
Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 7594)
+++ /controller/wpsg_ShopController.class.php	(revision 7595)
@@ -3299,7 +3299,7 @@
 			{
 
-				if (wpsg_isSizedString($mail_html)) $mail_html .= nl2br($addText);
-
-				$mail_text .= strip_tags($addText);
+				if (wpsg_isSizedString($mail_html)) $mail_html .= "<br /><br />".nl2br($addText);
+
+				$mail_text .= "\r\n\r\n".strip_tags($addText);
 
 			}
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7594)
+++ /lib/functions.inc.php	(revision 7595)
@@ -616,5 +616,5 @@
 				} else {
 					
-					if (sanitize_text_field($val) == trim($val)) $bReturn = true;
+					if (sanitize_text_field($val) == trim($val)) $bReturn = true; 
 					
 				}
Index: /lib/helper_functions.inc.php
===================================================================
--- /lib/helper_functions.inc.php	(revision 7594)
+++ /lib/helper_functions.inc.php	(revision 7595)
@@ -277,9 +277,8 @@
 		if (isset($_REQUEST['wpsg_'.$key.'_cc'])) $GLOBALS['wpsg_sc']->update_option('wpsg_'.$key.'_cc', $_REQUEST['wpsg_'.$key.'_cc'], false, false, WPSG_SANITIZE_EMAILNAME);
 		if (isset($_REQUEST['wpsg_'.$key.'_bcc'])) $GLOBALS['wpsg_sc']->update_option('wpsg_'.$key.'_bcc', $_REQUEST['wpsg_'.$key.'_bcc'], false, false, WPSG_SANITIZE_EMAILNAME);
-		if (isset($_REQUEST['wpsg_'.$key.'_text']))
-		{
-			
-			$GLOBALS['wpsg_sc']->update_option('wpsg_'.$key.'_text', $_REQUEST['wpsg_'.$key.'_text'], false, false, WPSG_SANITIZE_TEXTFIELD);
-			$GLOBALS['wpsg_sc']->addTranslationString('wpsg_'.$key.'_text', $_REQUEST['wpsg_'.$key.'_text'], WPSG_SANITIZE_TEXTFIELD);
+		if (isset($_REQUEST['wpsg_'.$key.'_text'])) {
+			
+			$GLOBALS['wpsg_sc']->update_option('wpsg_'.$key.'_text', $_REQUEST['wpsg_'.$key.'_text'], false, false, WPSG_SANITIZE_HTML);
+			$GLOBALS['wpsg_sc']->addTranslationString('wpsg_'.$key.'_text', $_REQUEST['wpsg_'.$key.'_text'], WPSG_SANITIZE_HTML);
 			
 		}
