From 8c76c55e67e4dfa9caec05b8ced73e3e62e2d5ec Mon Sep 17 00:00:00 2001 From: Simon Adams Date: Tue, 19 Dec 2023 15:13:54 +0000 Subject: [PATCH] MDL-80357 theme_boost: Correctly interpolate SCSS Fixes interpolation between SCSS setting and background images SCSS when SCSS setting is a single line comment --- theme/boost/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/boost/lib.php b/theme/boost/lib.php index 039174d1624..755fc42623a 100644 --- a/theme/boost/lib.php +++ b/theme/boost/lib.php @@ -64,7 +64,7 @@ function theme_boost_get_extra_scss($theme) { } // Always return the background image with the scss when we have it. - return !empty($theme->settings->scss) ? $theme->settings->scss . ' ' . $content : $content; + return !empty($theme->settings->scss) ? "{$theme->settings->scss} \n {$content}" : $content; } /**