diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index f788261b74704a5bab393669a8e3b5042f3c9a9b..8d9869b84a7c6f5e98d8d465a6be9e959aebd9f3 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -288,10 +288,10 @@ class ThemingController extends Controller {
 				"}\n";
 			$responseCss .= '
 				#firstrunwizard .firstrunwizard-header {
-				    background-color: ' . $color . ';
+					background-color: ' . $color . ';
 				}
 				#firstrunwizard p a {
-				    color: ' . $color . ';
+					color: ' . $color . ';
 				}
 				';
 
@@ -300,7 +300,7 @@ class ThemingController extends Controller {
 		if($logo !== '') {
 			$responseCss .= sprintf(
 				'#header .logo {' .
-				'background-image: url(\'./logo?v='.$cacheBusterValue.'\')' .
+				'background-image: url(\'./logo?v='.$cacheBusterValue.'\');' .
 				'background-size: contain;' .
 				'}' . "\n" .
 				'#header .logo-icon {' .
diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php
index 0f42e252400ab7c159633a6417607d2749a6617f..82eb8259af58a1efc40ab8a1ee321c414e9ccbe1 100644
--- a/apps/theming/tests/Controller/ThemingControllerTest.php
+++ b/apps/theming/tests/Controller/ThemingControllerTest.php
@@ -386,10 +386,10 @@ class ThemingControllerTest extends TestCase {
 
 		$expectedData .= '
 				#firstrunwizard .firstrunwizard-header {
-				    background-color: ' . $color . ';
+					background-color: ' . $color . ';
 				}
 				#firstrunwizard p a {
-				    color: ' . $color . ';
+					color: ' . $color . ';
 				}
 				';
 
@@ -442,10 +442,10 @@ class ThemingControllerTest extends TestCase {
 
 		$expectedData .= '
 				#firstrunwizard .firstrunwizard-header {
-				    background-color: ' . $color . ';
+					background-color: ' . $color . ';
 				}
 				#firstrunwizard p a {
-				    color: ' . $color . ';
+					color: ' . $color . ';
 				}
 				';
 		$expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";
@@ -484,7 +484,7 @@ class ThemingControllerTest extends TestCase {
 			->willReturn('');
 
 		$expectedData = '#header .logo {' .
-			'background-image: url(\'./logo?v=0\')' .
+			'background-image: url(\'./logo?v=0\');' .
 			'background-size: contain;' .
 			'}' . "\n" .
 			'#header .logo-icon {' .
@@ -579,15 +579,15 @@ class ThemingControllerTest extends TestCase {
 			"}\n";
 		$expectedData .= '
 				#firstrunwizard .firstrunwizard-header {
-				    background-color: ' . $color . ';
+					background-color: ' . $color . ';
 				}
 				#firstrunwizard p a {
-				    color: ' . $color . ';
+					color: ' . $color . ';
 				}
 				';
 		$expectedData .= sprintf(
 			'#header .logo {' .
-			'background-image: url(\'./logo?v=0\')' .
+			'background-image: url(\'./logo?v=0\');' .
 			'background-size: contain;' .
 			'}' . "\n" .
 			'#header .logo-icon {' .
@@ -652,15 +652,15 @@ class ThemingControllerTest extends TestCase {
 			"}\n";
 		$expectedData .= '
 				#firstrunwizard .firstrunwizard-header {
-				    background-color: ' . $color . ';
+					background-color: ' . $color . ';
 				}
 				#firstrunwizard p a {
-				    color: ' . $color . ';
+					color: ' . $color . ';
 				}
 				';
 		$expectedData .= sprintf(
 			'#header .logo {' .
-			'background-image: url(\'./logo?v=0\')' .
+			'background-image: url(\'./logo?v=0\');' .
 			'background-size: contain;' .
 			'}' . "\n" .
 			'#header .logo-icon {' .