From 4c9b9b35ed28e16444db147504d0e2ebc4322f8a Mon Sep 17 00:00:00 2001 From: James Brock Date: Thu, 28 Jan 2021 09:35:15 +0900 Subject: [PATCH] url double-quote argument Double-quote the argument to a `url` property. --- src/React/Basic/Emotion.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/React/Basic/Emotion.purs b/src/React/Basic/Emotion.purs index 1ba7484..78e5136 100644 --- a/src/React/Basic/Emotion.purs +++ b/src/React/Basic/Emotion.purs @@ -208,7 +208,7 @@ fallbacks :: Array StyleProperty -> StyleProperty fallbacks = unsafeCoerce url :: URL -> StyleProperty -url (URL url') = str ("url(" <> url' <> ")") +url (URL url') = str ("url(\"" <> url' <> "\")") color :: Color -> StyleProperty color = str <<< cssStringHSLA