From fb68a79b34e23a580fb9363d267f17acd994e323 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 6cc398d535e..de85b689b7f 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; } /**