diff --git a/Classes/ViewHelpers/Format/EscapeViewHelper.php b/Classes/ViewHelpers/Format/EscapeViewHelper.php
index 8a0bd80..590e9f8 100755
--- a/Classes/ViewHelpers/Format/EscapeViewHelper.php
+++ b/Classes/ViewHelpers/Format/EscapeViewHelper.php
@@ -20,11 +20,11 @@ public static function renderStatic(array $arguments, \Closure $renderChildrenCl
}
// Remove Linebreaks from RTE fields
- $value = preg_replace("/\r|\n/", " ", $value);
+ $value = preg_replace('/\R+/', ' ', $value);
// Escape ', ", \
$value = addslashes($value);
return $value;
}
-}
\ No newline at end of file
+}
diff --git a/Resources/Private/Partials/Klaro/Service.html b/Resources/Private/Partials/Klaro/Service.html
index 9e14ff0..58574d1 100755
--- a/Resources/Private/Partials/Klaro/Service.html
+++ b/Resources/Private/Partials/Klaro/Service.html
@@ -6,7 +6,7 @@
'{category.title -> f:format.case(mode: 'lower')}',
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+