mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-80357 theme_boost: Correctly interpolate SCSS
Fixes interpolation between SCSS setting and background images SCSS when SCSS setting is a single line comment
This commit is contained in:
parent
513f3b02c7
commit
8c76c55e67
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user