summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/resource_transformers/tocss/internal/sass/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_transformers/tocss/internal/sass/helpers.go b/resources/resource_transformers/tocss/internal/sass/helpers.go
index 8128fd4d7..ae1de7daa 100644
--- a/resources/resource_transformers/tocss/internal/sass/helpers.go
+++ b/resources/resource_transformers/tocss/internal/sass/helpers.go
@@ -38,7 +38,7 @@ func CreateVarsStyleSheet(vars map[string]string) string {
// These variables can be a combination of Sass identifiers (e.g. sans-serif), which
// should not be quoted, and URLs et, which should be quoted.
// unquote() is knowing what to do with each.
- varsSlice = append(varsSlice, fmt.Sprintf("%s%s: unquote('%s');", prefix, k, v))
+ varsSlice = append(varsSlice, fmt.Sprintf("%s%s: unquote(%q);", prefix, k, v))
}
sort.Strings(varsSlice)
varsStylesheet = strings.Join(varsSlice, "\n")