aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_functions.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss
index 980efb025..83eea1fbe 100644
--- a/scss/_functions.scss
+++ b/scss/_functions.scss
@@ -74,6 +74,9 @@
}
// See https://codepen.io/kevinweber/pen/dXWoRw
+//
+// Requires the use of quotes around data URIs.
+
@function escape-svg($string) {
@if str-index($string, "data:image/svg+xml") {
@each $char, $encoded in $escaped-characters {